Hi Jon,
Can you give me some sample code to get me started? I've never done
the 'declare thing' before.
Thanks,
Marc
I would like to limit the search scope of Spotlight to a particular
folder (and its sub-folders).
The current RB implementation doesn't allow this. Can anybody
provide an example on how declares could be used?
You should be able to set up the SpotlightQuery, then declare
against MDQuerySetSearchScope passing in the SpotlightQuery.Handle.
Because of how the MDQuery API is, any change to the query string
will cause REALbasic to recreate the MDQueryRef underneath the hood,
which will require you to re-set the scope afterwards.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>