• 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
Scripting QuarkXPress from OS X
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Scripting QuarkXPress from OS X


  • Subject: Scripting QuarkXPress from OS X
  • From: "Scott P. Richert" <email@hidden>
  • Date: Mon, 13 Jan 2003 23:16:06 -0600

The following script runs fine when opened in Classic, but when run
natively in OS X, it either times out during the print command or hangs
until I break out of it:

set myFilePath to (path to desktop from user domain as string)
set myFileName to myFilePath & "0000_0001.ps"
tell application "QuarkXPress"
activate
print page 1 of front document PostScript file (myFileName)
end tell

Other commands ("make new document", for instance) work just fine, so
it seems to have something to do with printing. (It fails with a
normal print command, too, not just with printing to a PS file.)

This worked under 10.1. What's changed? As odd as this sounds, I'd
really like to be able to target QXP for printing from an OS X script,
mainly because I have an elaborate script that could benefit from being
wrapped in an AppleScript Studio gui. Of course, I could cheat and
save my script as a stay-open Classic script and target it from the
AppleScript Studio app, but if I can avoid that, I'd like to.

Scott
_______________________________________________
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.

  • Follow-Ups:
    • Re: Scripting QuarkXPress from OS X
      • From: Steve Roy <email@hidden>
    • Re: Scripting QuarkXPress from OS X
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Re: Help! Photoshop AppleScript times out
  • Next by Date: Re: Scripting QuarkXPress from OS X
  • Previous by thread: osx position disk
  • Next by thread: Re: Scripting QuarkXPress from OS X
  • Index(es):
    • Date
    • Thread