Jul 12, '05 09:17:00AM • Contributed by: lukec
I've seen a couple hints about how to perform complex boolean operation by hacking plist files. For example, this one. Here's a non-hacker way to deal with this, and yes, I know there are other ways to do this, too. I'm just using this as an example.
I have some mailing lists that I want to view using Smart Folders. All my mailing lists pool in a folder aptly named 'mailing lists.'
The criteria I want to define is:
(((to=macosx-dev@omnigroup.com) && (folder=mailing lists))
||
((to=cocoa-dev@lists.apple.com) && (folder=mailing lists)))
Which means if the to address is one of those addresses, and it's in the mailing list folder, it's a match. Instead of making one Smart Folder to handle this, you make three. Two smart folders called Cocoa and Cocoa2 (I call these builders) and one Smart Folder, CocoaMailingList, that gathers the contents of the first two smart folders:
Cocoa: ((to=macosx-dev@omnigroup.com) and (folder=mailing lists))
Cocoa2: ((to=cocoa-dev@lists.apple.com) and (folder=mailing lists))
CocoaMailingList. If a message is in Cocoa -or- Cocoa2.
