Re: Get Item Number of List Item Choice?
Re: Get Item Number of List Item Choice?
- Subject: Re: Get Item Number of List Item Choice?
- From: Michelle Steiner <email@hidden>
- Date: Tue, 12 Oct 2004 12:49:15 -0700
On Oct 12, 2004, at 11:10 AM, Johnny AppleScript wrote:
Is there a better way to do this?
Smart-ass answer for the question exactly as written:
set theList to {"A", "B", "C", "D"}
set theChoice to (choose from list theList) as string
set a to (ASCII number of theChoice) - 64
-- Michelle
--
Discordians don't pray: it is far too dangerous.
_______________________________________________
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