Scripting QuarkXPress 5 in Classic mode
Scripting QuarkXPress 5 in Classic mode
- Subject: Scripting QuarkXPress 5 in Classic mode
- From: Pat Cannon <email@hidden>
- Date: Fri, 9 Jan 2004 16:52:12 -0600
Hi,
I've got a script which works fine in OS 9. Here's a piece of it --
pardon the high ASCII:
tell application "QuarkXPress 5.0"
set myDocument to document 1
tell myDocument
set pageHt to page height
set pageHtreal to pageHt as real
display dialog pageHtreal
end tell
end tell
This gives me, like, "17.0" which is what I want, when I step through
the script in Scripter under Classic. Or "17" (not "17.0",
interestingly) via the dialog box.
However when I attempt to step through the script in Smile under
Jaguar (with Quark 5 running in Classic), or run it from the Script
Editor, I get: "Can't make +data FXVM04C80000; into a real."
What's up? Should I tell my coworkers to just wait for Quark 6?
Thanks,
Pat
_______________________________________________
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.