Re: Selecting From A List
Re: Selecting From A List
- Subject: Re: Selecting From A List
- From: Luther Fuller <email@hidden>
- Date: Sat, 28 Apr 2012 14:21:35 -0500
On Apr 28, 2012, at 1:47 PM, Jim Brandt wrote: Is there a way to return the item number of the original list instead of the selections themselves, or do I now need to search the original list to pick out the positions?
This is a problem that I've noticed with 'choose from list ...' for a very long time. It should return a list of selected indexes, but instead returns the list of actual selections. In my opinion, it's a design flaw. And there is really no way to work-around this with certainty because the list you are choosing from may contain duplicate items.
... but it probably doesn't, so ...
If you really need the index of the chosen item, you have to find its index in a repeat loop. Damn!
|
_______________________________________________
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