• 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
Conversion to numerics with Quark
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Conversion to numerics with Quark


  • Subject: Conversion to numerics with Quark
  • From: ErikXmedia2 <email@hidden>
  • Date: Wed, 30 Nov 2005 17:09:38 +0100

Title: Conversion to numerics with Quark
I have for some time done scripting with Quark, and have never had any problem getting dimensions and positions of boxes as numeric data.

Some time ago I was visiting a customer, and suddenly the scripts did not work, because I could not get the bounds of a box as numeric data.

The scripts continued to work on my computer and at other customer sites. Las week I went back to the problem customer. Same problem, but this time the problem got into my computer also. Now my scripts do not work any more on my own computer.

I have the impression that this is connected to the Apple System and its way of translating the scripts. If it has had a script translated once it will continue to translate it this way.

I had the same problem earlier on system 9 where applescript would “remember” the translation from one version of Quark. And you had  to restart you system in order to switch between versions of QuarkXpress.

The problem now is under OS X, and I do not know how to clear the “invisible” memory of AppleScript.

I am using QuarkXpress 6.5 on OS 10.3.5 (customer is on 10.3.9 or 10.4) the script I want to execute is:

tell application "QuarkXPress Passport™"
    tell document 1
                copy (coerce (bounds of generic box 1 as rectangle) to list) to {jtop, jleft, jbottom, jright}
                set jrright to jright as real
               set jrtop to jtop as real
               set jrleft to jleft as real
    end tell
end tell

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: check available remote machines? possible?
  • Next by Date: Re: check available remote machines? possible?
  • Previous by thread: [ANN] Next Philadelphia Area AppleScript Users Group Meeting
  • Next by thread: Path to folder list
  • Index(es):
    • Date
    • Thread