Hello,
I need to copy or duplicate page items of the active page of doc 1 in a specific position of the active page of doc 2.
I can duplicate the page items of doc 1 into the doc 2 (with the code below) but can't find a way to duplicate them in a specific position: they are always duplicated in the same position on the active page of doc 2.
The current working code (simplified) is:
tell application "Adobe InDesign CS3"
tell document 1
tell layout window 1
set pageitemlist to every page item of active page
end tell
end tell
duplicate pageitemlist to the active page of layout window 1 of document 2
end tell
Thanks for your help!
-- This works in CS4:
tell application "Adobe InDesign CS4"
tell document 1
tell page 2
set d to duplicate page item "textframe1" -- the text frame labeled "textframe1"
-- FYI, d has a class of list:
-- "text frame id 328 of page id 237 of spread id 232 of document "Untitled-2" of application "Adobe InDesign CS4""
end tell
move d to page 4 -- moves to 0,0 on pg4
end tell
end tell
North America
Europe, Middle East and Africa
Asia Pacific