• 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: sorting based on X, Y coordinates as opposed to creation sequence
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >sorting based on X, Y coordinates as opposed to creation sequence (From: "Patrik B." <email@hidden>)

  • Prev by Date: sorting based on X, Y coordinates as opposed to creation sequence
  • Next by Date: Maill.app puzzle
  • Previous by thread: sorting based on X, Y coordinates as opposed to creation sequence
  • Next by thread: Re: sorting based on X, Y coordinates as opposed to creation sequence
  • Index(es):
    • Date
    • Thread