Re: Working with QuarkXPress bounds
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.