Re: sorting based on X, Y coordinates as opposed to creation sequence
Re: sorting based on X, Y coordinates as opposed to creation sequence
- Subject: Re: sorting based on X, Y coordinates as opposed to creation sequence
- From: Shane Stanley <email@hidden>
- Date: Thu, 06 Oct 2005 14:46:06 +1000
- Thread-topic: sorting based on X, Y coordinates as opposed to creation sequence
On 6/10/05 12:02 PM, "Patrik B." <email@hidden> wrote:
> I am trying to put together a script that orders all my text frames/page
> items based on their x, y coordinates as opposed to their creation time.
One way is to convert the coordinates to a single value. So you might take
your y value, multiply it by a number your x value will never exceed -- say
1000 -- and then add the x value to it. Sort the resulting numbers.
--
Shane Stanley <email@hidden>
_______________________________________________
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