Re: Choose from list
Re: Choose from list
- Subject: Re: Choose from list
- From: Robert Poland <email@hidden>
- Date: Sun, 16 Oct 2005 09:32:52 -0600
Hi,
I have this line in a script;
set theChoice to (choose from list theList default items
theDefaultList with prompt "Select Calendar")
I know how to get the text returned, but I would like to get the
number of the item chosen.
Page 337 of Matt's book doesn't even address this situation.
Where else can I go to find this answer?
Tia,
--
Bob Poland - Fort Collins, CO
http://www.ibrb.org/
Found it.
Appears that there is no command to do this.
Found this From: Christopher Nebel <email@hidden> - 7/19/05
set theChoice to (choose from list theList default items
theDefaultList with prompt "Select" 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
Thanks,
--
Bob Poland - Fort Collins, CO
http://www.ibrb.org/
_______________________________________________
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