Re: Quark box origins in Classic
Re: Quark box origins in Classic
- Subject: Re: Quark box origins in Classic
- From: Shane Stanley <email@hidden>
- Date: Tue, 01 Jul 2003 09:06:23 +1000
On 1/7/03 5:47 AM +1000, Larry McMunn, email@hidden, wrote:
>
I need to get the coordinates of text boxes on a page. In OS9, Box bounds were
>
expressed like: {6p, 3p, 45p, 26p}
>
>
However, working thru Classic, with OSX10.2.6, they are returned as some sort
>
of data class.
Your choices are to either stick to Classic applets and use a Classic script
editor, or resort to liberal use of Quark's coerce command:
set theBounds to bounds of text box 1 of page 5 as list
set theTop to coerce (item 1 of theBounds) to real
--
Shane Stanley, email@hidden
_______________________________________________
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.