Re: Choose from list
Re: Choose from list
- Subject: Re: Choose from list
- From: Timothy Bates <email@hidden>
- Date: Wed, 20 Jul 2005 11:10:17 +1000
- Thread-topic: Choose from list
Chris Nebel wrote
> Consider this instead:
> set theList to {"Lying", "Sitting", "Standing", "All"}
> set theChoice to (choose from list theList default items {"All"} with
> prompt "Select Blood Pressure(s) to Plot." with multiple selections
> allowed)
> set m to {}
> repeat with i from 1 to number of items in theList
> if item i of theList is in theChoice then copy i to end of m
> end repeat
> m
Wouldn't it be nice if the system wide list choice handler could have an
option "return indices|item names". Or just return an associative array.
tim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden