osx - a and not(b or c) with Apple Spotlight query -
apple's dev dox provide info file metadata query expression syntax.
the problem i'm having want 'a , not(b or c)' don't see how it. seems can 'a , ((not b) or (not c))' , that's not want. there's nice truth table generator here demonstrates problem: http://turner.faculty.swau.edu/mathematics/materialslibrary/truth/
i'm thinking it's not possible given spotlight supports, per dox.
solved
some details on problem i'm trying solve: want see email me outside company domain , not webex generated (it used meeting updates, etc.) ms outlook 2011 (mac) uses os x spotlight search engine filter email 'raw query'.
the working query (thanks, renzo) is:
com_microsoft_outlook_recpient_email_addresses == "jsmith@example.com" && com_microsoft_outlook_author_email_addresses != "*@example.com" && com_microsoft_outlook_author_email_addresses != "*@webex.com"
according “de morgan's laws” expression a , not(b or c)
equal a , not(b) , not(c)
, can use &&
operator , !=
operator express condition.
Comments
Post a Comment