Re: Selecting From A List
Re: Selecting From A List
- Subject: Re: Selecting From A List
- From: Shane Stanley <email@hidden>
- Date: Wed, 02 May 2012 08:50:18 +1000
On 02/05/2012, at 2:43 AM, Thomas Fischer wrote:
I use the stupidest(?) method: just count the items:
on item2Num(theItem, theList) repeat with i from 1 to the count of theList if item i of theList = theItem then return i end repeat return 0 end item2Num
Except that Jim is dealing with two lists (he used "with multiple selections allowed"). So he would need a repeat within a repeat.
|
_______________________________________________
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