Re: [MacRuby-devel] Trying to use spotlight programmatically

2011-03-01 Thread Franco Rondini
e, 1 Mar 2011 00:12:53 +0100 > From: Franco Rondini > To: [email protected] > Subject: Re: [MacRuby-devel] Trying to use spotlight programmatically > Message-ID: <[email protected]> > Content-Type: text/plain; charset="us-ascii&quo

Re: [MacRuby-devel] Trying to use spotlight programmatically

2011-02-28 Thread Franco Rondini
a way to enumerate the results of the query to get the attributes ( path especially ) I would be very happy if anyone has any idea, Thanks Franco > Kaelin Colclausure > Kaelin Colclasure kaelin at apple.com Tue Feb 8 11:49:39 PST 2011 Previous message: [MacRuby-devel] Trying

Re: [MacRuby-devel] Trying to use spotlight programmatically

2011-02-08 Thread Kaelin Colclasure
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

[MacRuby-devel] Trying to use spotlight programmatically

2011-02-07 Thread Martin Hawkins
This is really beyond the remit of this group, but I thought I'd try here first as you guys are so helpful! I'm trying to use spotlight programmatically. I've downloaded the sample apps and used ideas from those - the code works fine in MacRuby. Where I'm coming unstuck is when I try to search ma