• 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
more list syntax
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

more list syntax


  • Subject: more list syntax
  • From: Jeremy Matthews <email@hidden>
  • Date: Wed, 01 Mar 2006 10:40:46 -0500

OK...I have another syntax questions with the following phrase

set mynames to (get name of every file in folder "Applications" in startup disk whose kind is "Application" and file type is {"APPL"} and version does not contain "Apple" and name is not in bad_individual_app_list and name does not contain "BitTorrent")

What I would like to do, is to change the latter part:
name does not contain "BitTorrent"
to
name does not contain an item in list bad_app_vendors

whereas I would declare:
set bad_app_vendors to {"BadAppWorks", "LucasArts", "John's Free Software"}

So, any item would automatically be filtered it any part of its name was in any part of any item in that list.

Hints?

Thanks,
jeremy
 _______________________________________________
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: more list syntax
      • From: kai <email@hidden>
  • Prev by Date: progress bars and serializers
  • Next by Date: Choose file
  • Previous by thread: Re: progress bars and serializers
  • Next by thread: Re: more list syntax
  • Index(es):
    • Date
    • Thread