• 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: Michelle Steiner <email@hidden>
  • Date: Mon, 28 Jan 2008 10:40:43 -0700

On Jan 28, 2008, at 7:54 AM, development2 wrote:

So what this does is it return an array of two items the first array item is an array of desktop item names, the second array item returns an array of desktop item positions. The problem is though that I can not guarantee that item 1 of the name array corresponds to item one of the position array.

I haven't read any of the other replies yet, so this may duplicate some of them:

tell application "Finder"
return {name, position} of items of the desktop
end tell

-- Michelle

-- 
Discordians don't pray: it is far too dangerous.

 _______________________________________________
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: Michelle Steiner <email@hidden>
References: 
 >Getting array of Item names and Positions (From: development2 <email@hidden>)

  • Prev by Date: Re: Getting array of Item names and Positions
  • Next by Date: Re: Getting array of Item names and Positions
  • 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