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

sorting based on X, Y coordinates as opposed to creation sequence


  • Subject: sorting based on X, Y coordinates as opposed to creation sequence
  • From: "Patrik B." <email@hidden>
  • Date: Wed, 5 Oct 2005 19:02:45 -0700

Hi,

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.
Indesign CS and CS2 basically indexes all items based on when they were
placed/made.

I tried using the 4 values in the geometric bounds property and assigning
them all to one variable and then sorting them but the Acme command only
sorts by one item at a time and also I am not quite sure now how I would
approach this mathematically.

The values in each box for example are {1,2,4,5) then again another box
(2,4,3,5) etc. and I have not been able to come up with a sort algorithm
that would do the trick. I have about 16 charts with over 300 boxes were I
am trying to label each element in reading sequence right to left top to
bottom any ideas on how I would approach the problem?

Best, Patrik


 _______________________________________________
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

  • Follow-Ups:
    • Re: sorting based on X, Y coordinates as opposed to creation sequence
      • From: Shane Stanley <email@hidden>
  • Prev by Date: tell to distant machine under Mac OSX Server
  • Next by Date: Re: sorting based on X, Y coordinates as opposed to creation sequence
  • Previous by thread: tell to distant machine under Mac OSX Server
  • Next by thread: Re: sorting based on X, Y coordinates as opposed to creation sequence
  • Index(es):
    • Date
    • Thread