Coordinating lists
Coordinating lists
- Subject: Coordinating lists
- From: Fraser <email@hidden>
- Date: Tue, 02 Apr 2002 14:17:30 -0500
I need to get an item's position and value based on a choice from another
list. The values in lines 4 and 5 are placeholders. Any pointers?
Thanks,
Fraser
set list1 to {"Apple", "Banana", "Grape", "Orange"}
set list2 to {34, 56, 56, 8}
set theItem to choose from list list1
set theNum to 0
set theCode to 0
display dialog ("You chose " & theItem & ", Item " & theNum & ", Code " &
theCode) as string
_______________________________________________
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.