The function that you probably need is FSCatalogSearch. It's a very
fast function and it returns, among other data, a pointer to an array
of FSRefs of the found files.
You can put this function inside a function that iterates across all
mounted volumes, using FSGetVolumeInfo.
Examples can be
Pierce Freeman wrote:
Due to problems with Spotlight not searching other drives on
default, I have
decided on integrating the UNIX find command. Please reply with
any ideas
you have regarding this, including (please) something about saving the
locations of the files that it found to an arra
> I'm not aware of that being removed (and typically I would be)
>
> It's in the headers on Leopard. That example does have an issue in
> that it doesn't link against Carbon. But if you do that, it compiles
> without warning, and clicking on the search button brings up the
> current Leopard HI for
Thanks for your reply Matt. I have been looking about all the problems with
using Spotlight (including this problem) and am thinking that formulating a
UNIX find command would probably be easier. Please comment back with any
thoughts about this idea.
On 3/29/09 12:51 PM, "Matt Neuburg" wrote:
On 2009-03-29, at 1:14 PM, Pierce Freeman wrote:
Scott:
Thanks for your reply. I more mean what has changed in the actual
structure
in Spotlight for Leopard. For example, I tried to follow this
article:
http://oreilly.com/pub/a/mac/2005/07/12/spotlight.html but it seems
as if
some of t
On Sat, 28 Mar 2009 22:31:01 -0700, Pierce Freeman
said:
>Hi everyone.
>
>I have been looking into a way to search the user's hard drive for a files
>and have settled on Spotlight. I will say ahead of time that if anyone has
>a better way to search for files that are in changing places, I would l
Pierce Freeman wrote:
For example, I tried to follow this article:
http://oreilly.com/pub/a/mac/2005/07/12/spotlight.html but it seems
as if
some of the code has been removed from Leopard (HISearchWindowShow,
etc).
HISearchWindowShow is a Carbon function. If you don't include the
Carb
Scott:
Thanks for your reply. I more mean what has changed in the actual structure
in Spotlight for Leopard. For example, I tried to follow this article:
http://oreilly.com/pub/a/mac/2005/07/12/spotlight.html but it seems as if
some of the code has been removed from Leopard (HISearchWindowShow,
On 29-Mar-09, at 1:31 AM, Pierce Freeman wrote:
Hi everyone.
I have been looking into a way to search the user's hard drive for a
files
and have settled on Spotlight. I will say ahead of time that if
anyone has
a better way to search for files that are in changing places, I
would love
t
Hi everyone.
I have been looking into a way to search the user's hard drive for a files
and have settled on Spotlight. I will say ahead of time that if anyone has
a better way to search for files that are in changing places, I would love
to hear about it! Anyway, all the documentation I found on
10 matches
Mail list logo