• 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
Re: Working with QuarkXPress bounds
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Working with QuarkXPress bounds


  • Subject: Re: Working with QuarkXPress bounds
  • From: steve harley <email@hidden>
  • Date: Thu, 26 Feb 2004 14:14:31 -0700

on 26 Feb 2004, at 12:24 PM, Steve Roy wrote:
However the units I get are in whatever the units are set for the
document, whereas I need to make sure that what I get is in points. How could I
do this?

you can check what units are set for the document, and do math on
the result, or you could change what units are set:

tell app "QuarkXPress 4.11"
set horizontal measure of document 1 to inches
set vertical measure of document 1 to millimeters
end tell

(i have coercion problems trying Hans' examples from Panther Script Editor ...

set {y1, x1, y2, x2} to bounds of aBox as list
y1
--> +data FXVM002B0000;

set y1 to (top of bounds) as fixed as string as number
--> Can't make +data fixd000098E4; into a string.

but i often script bounds using Frontier & XPress 4.11, both in Classic)
_______________________________________________
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: Working with QuarkXPress bounds
      • From: Hans Haesler <email@hidden>
References: 
 >Re: Working with QuarkXPress bounds (From: Steve Roy <email@hidden>)

  • Prev by Date: Re: Results differ in editor and applet
  • Next by Date: Re: editing HTML
  • Previous by thread: Re: Working with QuarkXPress bounds
  • Next by thread: Re: Working with QuarkXPress bounds
  • Index(es):
    • Date
    • Thread