Re: Quark 5. Make new page
Re: Quark 5. Make new page
- Subject: Re: Quark 5. Make new page
- From: Hans Haesler <email@hidden>
- Date: Fri, 24 Jan 2003 15:28:14 +0100
On Fri, 24 Jan 2003, Kirill Kortchagin wrote:
>
I cannot make new pages with different master spreads.
>
>
Example:
>
>
tell app "QuarkXPress 5"
>
tell document 1
>
make new page at end with properties {master spread: "B-Master B"}
>
end
>
end
>
>
The master page "B-Master B" is second in list of master pages.
>
Everytime I create new page it's creates with master page "A-Master A". ;(
>
In Quark 4.11 it's example works right.
>
>
Can anyone help? How to make page in Quark5 with differen masters? ;(
Hi Kirill,
use an index, like 'spread 2' instead of the literal "B-Master B".
---
tell document 1 of application "QuarkXPress 5.01"
activate
make page at end with properties {master spread:spread 2 of master document 1 of application "QuarkXPress 5.01"}
end tell
---
The 'make page...' is a very long line and yes, you need to repeat
'... of master document 1 of application "QuarkXPress 5.01'
---
Hans Haesler <email@hidden>
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.