🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: adobe.scripting.indesign
4 messages
4 total messages Started by Mike_Nieuwstraten Mon, 02 Feb 2009 16:12
[CS3 AS] New spread with 2 or more pages at front
#1664
Author: Mike_Nieuwstraten
Date: Mon, 02 Feb 2009 16:12
7 lines
1028 bytes
Anyone knows how to (Apple)script to get a new spread with 2 or more pages at before page 1?
Just like what you would get when - in panel 'Pages' - you would drag a name of a masterpage (containing 2 or more pages) to the left of the first page (in the same panel) and the cursor is like a | (so not like a [ ).

Otherwise, what is the syntax for:
- making 2 or more new pages in one time based on a masterpage with the same number of pages?

Thanks,
Re: [CS3 AS] New spread with 2 or more pages at front
#1667
Author: Shane_Stanley
Date: Mon, 02 Feb 2009 21:20
11 lines
1545 bytes
tell application "Adobe InDesign CS3"
    tell document 1
        make spread at beginning with properties {applied master:master
spread 1}
    end tell
end tell


-- 
Shane Stanley <sstanley@myriad-com.com.au>
AppleScript Pro Florida, April 2009 <http://scriptingmatters.com/aspro>
Re: [CS3 AS] New spread with 2 or more pages at front
#1683
Author: Mike_Nieuwstraten
Date: Tue, 03 Feb 2009 15:34
19 lines
1317 bytes
Hi Shane (and others),

Thanks for your response.
I tried that with an existing document and that didn't work.
Made a new document and it worked for a masterspread containing 2 pages.

After investigating, the difference was that the new document had 'Facing pages' activated in document prefs.
So I turned that option on in the existing document: now it works as long there are only 2 pages in the masterspread.

'Unfortunately' I need it to work for 3 pages per spread.
I tried fooling around with

	tell document preferences
		set allow page shuffle to false --or true
		set preserve layout when shuffling to true --or false
	end tell

but made no difference.
Anyone any idea?
Re: [CS3 AS] New spread with 2 or more pages at front
#1689
Author: Shane_Stanley
Date: Tue, 03 Feb 2009 22:08
6 lines
1445 bytes
Have you tried making a spread and then making extra pages at the end of the
spread?

-- 
Shane Stanley <sstanley@myriad-com.com.au>
AppleScript Pro Florida, April 2009 <http://scriptingmatters.com/aspro>
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads