Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Applescript > Help with Filte...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 1573 of 1610
Post > Topic >>

Help with Filtering

by Janet <janet@[EMAIL PROTECTED] > Feb 15, 2008 at 08:35 AM

I use a filter to exclude a folder named " catalogs":

set folderList to (sort (every folder of A whose name 
is not  " catalogs") by name)

This works fine and " catalogs" in not included in folderList.

Is it possible to include a second name filter?  I tried this:

set folderList to (sort (every folder of A whose name
is not  " catalogs" or name is not  " to review") by name)

The script using the second filter runs without error, but the " to
review" folder is not excluded from folderList.

Is there a way to exclude both folders using one sort routine?

Thanks.




 3 Posts in Topic:
Help with Filtering
Janet <janet@[EMAIL PR  2008-02-15 08:35:12 
Private Message
   2008-02-15 09:46:47 
Private Message
   2008-02-15 08:58:08 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon May 12 8:32:24 CDT 2008.