• 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
Re: Short form
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Short form


  • Subject: Re: Short form
  • From: Philip Aker <email@hidden>
  • Date: Fri, 5 Sep 2008 10:41:49 -0700

On Sep 5, 2008, at 10:35 AM, Script2 wrote:


Is there a short form for writing this "if" statement

If sname = "CN" or sname = "DD" or sname = "DR" or sname = "FM" then (I have
about 10 names to check)

set sn to "CN"
sn is in {"AN", "BN", "DN", "EN", "FN"}


Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@

Democracy: Two wolves and a sheep voting on lunch.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • RE: Short form
      • From: "Script2" <email@hidden>
References: 
 >Short form (From: "Script2" <email@hidden>)

  • Prev by Date: Short form
  • Next by Date: Re: Short form
  • Previous by thread: Short form
  • Next by thread: RE: Short form
  • Index(es):
    • Date
    • Thread