e, 1 Mar 2011 00:12:53 +0100
> From: Franco Rondini
> To: macruby-devel@lists.macosforge.org
> Subject: Re: [MacRuby-devel] Trying to use spotlight programmatically
> Message-ID: <3964bba2-bb57-4860-b45b-39b3e1742...@yahoo.it>
> Content-Type: text/plain; charset="us-ascii&quo
Hello ,
The code posted by Kaelin works great for me,
After counting the number of search results now I would like to know the path
of files found but to do this I have big difficulty
I'm trying to figure out how to make it works the
MDQueryGetAttributeValueOfResultAtIndex or MDItemCopyAtt
Martin,
The FinderFilesOnly stuff is not really relevant to other applications using
Spotlight. You should not need to do anything special to find email results.
Try, for example, using the mdfind command from Terminal:
$ mdfind -literal 'kMDItemAuthorEmailAddresses == *'
If your query is not