more list syntax
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