InDesign Apple Scripting Help

Yellowbeard

And The World Returned
I am very new to AppleScript and I am having problems duplicating to a location. I have tried several different variations of the following, but the new duplicate item is always coming up behind the original instead of in the new location? Any help would be much appreciated.

tell application "Adobe InDesign CS2"
activate
set myDocument to active document

set iRef to all page items of myDocument
move iRef to {"0 in", "0 in"}
duplicate iRef to 5.5

end tell
 
Nevermind I answered my own question.

tell application "Adobe InDesign CS2"
activate
set myDocument to active document

set iRef to all page items of myDocument
move iRef to {"0 in", "0 in"}
set FiRef to duplicate iRef
move iRef to {"5.5 in", "0 in"}

end tell
 
Back
Top