• 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 5 in Classic mode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Scripting QuarkXPress 5 in Classic mode
      • From: Hans Haesler <email@hidden>
  • Prev by Date: Folder Actions and BBEdit problem this time without HTML
  • Next by Date: Re: Safari windows
  • Previous by thread: Re: Folder Actions and BBEdit problem this time without HTML
  • Next by thread: Re: Scripting QuarkXPress 5 in Classic mode
  • Index(es):
    • Date
    • Thread