Quark 6 duplicate script
Quark 6 duplicate script
- Subject: Quark 6 duplicate script
- From: Jason Bourque <email@hidden>
- Date: Mon, 26 Jan 2004 21:18:08 -0500
Hello,
I wrote this script today. It works but, sometimes I get an error cannot
paste into this container. Any ideas.
The script copies a selection from one document to another. The key is that
it places it into the same location on the page of your choice.
tell application "QuarkXPress"
set vSelection to selection
set vSelectionBounds to bounds of vSelection
set vOpenDocs to name of every document
choose from list vOpenDocs with prompt "Document to move to:" default
items {item 1 of vOpenDocs}
copy item 1 of result to vDocToMoveTo
display dialog "Page to copy selection to?" default answer ""
set vPageNumber to (text returned of result) as number
set vDuped to duplicate vSelection to after page vPageNumber of document
vDocToMoveTo
set bounds of vDuped to vSelectionBounds
show vDuped
set view scale increment of document vDocToMoveTo to "117%"
end tell
Thanks,
Jason Bourque
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.