• 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: Getting array of Item names and Positions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting array of Item names and Positions


  • Subject: Re: Getting array of Item names and Positions
  • From: "Mark J. Reed" <email@hidden>
  • Date: Mon, 28 Jan 2008 18:44:00 -0500

On Jan 28, 2008 6:37 PM, Shane Stanley

   set theNames to name of items of the desktop
   get position of every item of desktop whose name is in theNames

But if an item was deleted in between those statements you'd still have a mismatched list.

Looks like a loop is the only reliable way to get things matched up.

--
Mark J. Reed <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:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Getting array of Item names and Positions
      • From: Shane Stanley <email@hidden>
References: 
 >Re: Getting array of Item names and Positions (From: "Mark J. Reed" <email@hidden>)
 >Re: Getting array of Item names and Positions (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Getting array of Item names and Positions
  • Next by Date: Re: scripting Acrobat print options
  • Previous by thread: Re: Getting array of Item names and Positions
  • Next by thread: Re: Getting array of Item names and Positions
  • Index(es):
    • Date
    • Thread