Re: Adobe InDesign - Unlink From - how?
Re: Adobe InDesign - Unlink From - how?
- Subject: Re: Adobe InDesign - Unlink From - how?
- From: Shane Stanley <email@hidden>
- Date: Tue, 05 Aug 2003 09:09:50 +1000
On 5/8/03 7:19 AM +1000, Peter Boctor, email@hidden, wrote:
>
To override a page item from the master you ask for it as a master
>
page item by index. As in:
>
>
master page item 1 of page 1
Except for one wrinkle: that overrides master page item -1. The indexes are
reveresed.
So this:
>
return master page item theMasterIndex of thePage
should probably be:
return master page item -theMasterIndex of thePage
You can also use the quicker but possibly dubious:
on override_page_item(theLabel, thePage)
tell application "InDesign 2.0.2"
tell document 1
try -- ignore error
master page item 1 of page thePage whose label is theLabel
end try
end tell
end tell
end override_page_item
--
Shane Stanley, 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.