Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the '10.4: Demystify Spotlight's saved search syntax' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Demystify Spotlight's saved search syntax
Authored by: statefuldotnet on Oct 12, '05 08:38:31AM

What's wrong with just using Raw Query in a Finder saved search? Seems like less effort and you don't stand the chance of accidently corrupting your xml by hacking it with a text editor, not to mention having to do silly things like escaping &&'s.

Open Finder, New Search, Change "Kind" to "Others...", select Raw Query and enter your spotlight query like before. I'm sure this is already covered in a previous hint and short of describing the anatomy of a savedsearch file is considerably more practical then hacking at raw xml.

[ Reply to This | # ]
10.4: Demystify Spotlight's saved search syntax
Authored by: raider on Oct 12, '05 10:33:01AM

You are absolutely correct!

I thank you for pointing this out!

Anything that you can put in the RawQuery field in the XML file can be used in the "Raw Query" field in the saved search parameters.


This is actually discussed in this hint, but when I first read through that I thought they were talking about command line searches, and missed the whole point I guess. So my bad.....

But these links are still helpful:

Spotlight's query expresion syntax.

Spotlight Metadata Attributes

But hey, I just added to the pile of Spotlight information. :)

Thanks again!

[ Reply to This | # ]