• 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
An arbitrary if.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

An arbitrary if.


  • Subject: An arbitrary if.
  • From: Alex Zavatone <email@hidden>
  • Date: Mon, 12 Sep 2011 19:51:12 +0000 (GMT)

I'm looking to see if I can set up a list of items I'd like to have anded in a logic statement and test for true or false. 
Something like this:

set x to "this is a cat"
set myList to {"this", "cat"}
set myResult to (x contains every item of myList)

Or if I have to walk the list of items I'd like anded.

Anyone know? My script above seems to fail pretty well.

TIA.

- Alex Zavatone
 _______________________________________________
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: An arbitrary if.
      • From: Christopher Stone <email@hidden>
    • Re: An arbitrary if.
      • From: Luther Fuller <email@hidden>
  • Prev by Date: Re: Why is this script 'openin' stationery files.
  • Next by Date: Re: An arbitrary if.
  • Previous by thread: Re: Why is this script 'openin' stationery files.
  • Next by thread: Re: An arbitrary if.
  • Index(es):
    • Date
    • Thread