• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Quark 6 duplicate script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: ASCII vs. MacRoman (From: Chris Page <email@hidden>)

  • Prev by Date: Panther: Quark 6 to PostScript Page Range Possible?
  • Next by Date: Re: applescript and browsers
  • Previous by thread: Re: ASCII vs. MacRoman
  • Next by thread: Re: ASCII vs. MacRoman (was Re: Standard Additions 'read' command - basic questions)
  • Index(es):
    • Date
    • Thread