Skip to main content
April 28, 2008
Question

Override Master Page Item on A Master Page

  • April 28, 2008
  • 1 reply
  • 450 views
Hello All,

I'm trying to write a script which includes the equivalent of right clicking a master page in the page pallet and selecting "Override All Master Page Items."

I've tried looping through the .AppliedMaster.PageItems using the Override command as shown below where IPage is .ActiveWindow.ActivePage:

InD.ActiveWindow.ActivePage.AppliedMaster.PageItems(i%).Override IPage

but I'm getting an "Invalid object for this request" error.

Any help is greatly appreciated.
This topic has been closed for replies.

1 reply

Participant
July 21, 2008
http://www.adobeforums.com/webx/.59b4defe/0

not that its much help, but there you go.