• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
About multiple selections in a list
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

About multiple selections in a list


  • Subject: About multiple selections in a list
  • From: "francois.houle" <email@hidden>
  • Date: Mon, 25 Apr 2005 15:02:37 -0400

Title: About multiple selections in a list
I have created a list of items which people can choose in a list. Users can select multiple answers in there.
What happens is that each choice selected performs a specific shell script.

example:
set list_choices to (choose from list {“A”, “B”, “C”}with multiple selections allowed
if list_choices contains “A” then
do shell script “my script here”
If list_choice contains “B” then
do shell script “my script here”

Etc..

What happens is that if list_choices contains “A” and “B” then it will only do the shell script for “A”... I am wondering how I can make it so that it does “B” as well... or any number of operations listed according to the choices made... Obviously my list contains more items than that, but I guess it remains the same however many choices the user selects.

Thanks
 _______________________________________________
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

  • Follow-Ups:
    • Re: About multiple selections in a list
      • From: Sander Tekelenburg <email@hidden>
  • Prev by Date: Scripting Illustrator CS
  • Next by Date: Re: Safari "do javascript" busted?
  • Previous by thread: Re: Scripting Illustrator CS
  • Next by thread: Re: About multiple selections in a list
  • Index(es):
    • Date
    • Thread