I'm pretty sure that to get the following script to work past the last line shown without throwing an error, I need to first override the page items I am trying to get into List_1. Unfortunately, I can't figure out the syntax.
Is it possible script something similar the pages palette command in the GUI "Override All Master Page Items?"
I've tried things like:
tell every page item of page g of myDocument
override destination page page g of myDocument
but I can't get anything like that to work.
Thanks for any help.
tell application "Adobe InDesign CS3"
set myDocument to active document
repeat with g from 1 to 2
if exists page g then
set List_1 to (object reference of every item of all page items of page g whose name of item layer is "Product Frames")
On 19/7/08 2:46 AM, "chris harges" <email@example.com> wrote:<br /><br />> Is it possible script something similar the pages palette command in the GUI<br />> "Override All Master Page Items?"<br /><br />Try:<br /><br /> override master page items of page g destination page page g<br /><br /><br />-- <br />Shane Stanley <firstname.lastname@example.org>