• 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
Mutiple if and then for one value
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mutiple if and then for one value


  • Subject: Mutiple if and then for one value
  • From: "francois.houle" <email@hidden>
  • Date: Wed, 23 Feb 2005 16:08:00 -0500

How would I write a script where ideally I would have this:

If this_value contains xx then display dialog "Please check this"
If this_value contains yy then display dialog "Please check that"

Etc...

So basically have mutiple "if" each with its own "then" for one value.

Also would like to know if its possible, using only AppleScript, to have
different actions happen depending on which byutton the user clicks in the
display dialog... Or would I have to start learning how to work in Xcode to
use studio... ?
Any and all advice is welcome !

Frank

 _______________________________________________
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

  • Prev by Date: Re: shell script and text manipulation
  • Next by Date: RE: Mutiple if and then for one value
  • Previous by thread: strange behavior.
  • Next by thread: RE: Mutiple if and then for one value
  • Index(es):
    • Date
    • Thread