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 12:32 PM, has <email@hidden> wrote:
> The problem is though that I can not guarantee that item 1 of the
> name array corresponds to item one of the position array.

How so? Unless something on the desktop changes between the first and
second commands, the order should be the same in each case. Do you
have an example of it doing anything different?

I was wondering the same thing.  And even that possible race condition can easily be eliminated by using a single get (as others have suggested).  That gets you a list of nested lists.


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