Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting array of Item names and Positions



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:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
Archives: http://lists.apple.com/archives/applescript-users

This email sent to 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>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.