• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Indesign CS overriding master page items
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Indesign CS overriding master page items


  • Subject: Re: Indesign CS overriding master page items
  • From: Shane Stanley <email@hidden>
  • Date: Fri, 21 May 2004 08:50:04 +1000

On May 21, 2004, at 7:16 AM, Sprague, Graham wrote:

Anyone know how to overide a master page item. Here some sample code I found
which works but I want to address the items as they would be addressed if
they were not master page items(like after the page is detached). For
example if I Detach the whole page then I can access individual items like
(rectangle 13) but I cannot seem to do it that way when they are still
linked to the master page. Rectangle 13 is not rectangle 13 when it is still
part of the master page. Why adobe didn't use the same item order on both
master page and page is beyond me.

They did, actually. I suspect what's confusing you, in part, is that the act of detaching changes the order of items, because detached items are always brought to the front of their layer.

What I would like to do is this but it does not work. I get an error "can't
get rectangle 13"

tell application "InDesign CS"
tell document 1
override rectangle 13 of master page items of page 1 destination page
page 1
end tell
end tell

"master page items" is a property, so that can't work. I think what you're after is this:

tell application "InDesign CS"
tell document 1
set theMaster to applied master of page 1
override rectangle 13 of page 2 of theMaster destination page page 1
end tell
end tell

--
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.


  • Prev by Date: Re: Adobe Illustrator Stray points?
  • Next by Date: Re: Wait until window is open
  • Previous by thread: Indesign CS overriding master page items
  • Next by thread: RE: Indesign CS overriding master page items
  • Index(es):
    • Date
    • Thread