Scripting QuarkXPress from OS X
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.