how to use data from choose from list
how to use data from choose from list
- Subject: how to use data from choose from list
- From: email@hidden
- Date: Mon, 8 Jul 2002 10:50:15 EDT
This has got to be a no-brainer for someone one this list - - - can someone
tell me what I'm doing wrong in my "if" statement. I just want to be able
to branch, based on the results of the user clicking in a list. Right now,
selecting Apple does nothing.
set theList to {"Apple", "Orange", "Grape"}
set userChoice to choose from list theList
display dialog "userChoice = " & userChoice
if userChoice is "Apple" then
display dialog "Apple was selected."
end if
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.