applescript - Override master page items in indesign with applscript -


i'm running applescript adds page document, "override master page items" import text 1 of released text boxes. solutions i've found don't seem work reference active page number

so possible this?

set thelistoffilenames {"1", "2", 3", "4", "5", "5"} set thetargetfolder ((path desktop folder) & "catalogue") string  repeat thecurrentfilename in thelistoffilenames       set theimportfile thetargetfolder & ":text:" & thecurrentfilename & ".txt"       tell application "adobe indesign cs3"                      tell active document    make page    override (master page items) -- here??    -- select textbox on page        -- place theimportfile without showing options    --end tell   end tell   save active document end tell end repeat 

tested in cs6, should work in cs3...

tell application "adobe indesign cs6"     tell active document         set newpage make page         tell newpage             --setting next line variable allow return items affected --call whatever want.... single item if 1 item or list if multiple items on page.              set theoverride override (every item of master page items of newpage) destination page newpage         end tell     end tell end tell  return theoverride  ---items of page affected. need reference correct 1 , account single/multiple items. 

Comments

Popular posts from this blog

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -