Hi all!
I have this script, that would copy item 1 (a grouped item) to page 1 of a new document. I used the same script on Classic and QXP 4.1where it worked perfect, now I get a QXP error.:
The script :
tell document “HomeLib.qxd”
set tool mode to drag mode
set selection to null – in case something is already selected
set selected of generic box 1 of page i to true – selects whole group
end tell
set boxIndex to duplicate (current box of document “HomeLib.qxd”) to beginning of page 1 of document (modulName & “.qxd”)
The error message I receive is in danish, so I can’t paste it here, but it sums up to :
Couldn’t set the beginning of page 1 of document A.qxd to the current box of document HomeLib.qxd
Please advice if possible on how to accomplish this - from what I read in the dictionary, the command is the same, but something must have changed!
Cheers,
Mark