SpotlightQuery and external drive(solved)

Hi all.
Question about SpotlightQuery class.
When we use the spotlight on Mac we have the option to select a folder or external drive for searching…
Is possible with SpotlightQuery,and if Yes how to ?

[quote]To specify the search scope
Send your instance of NSMetadataSearch a setSearchScopes: message, passing an array of the appropriate scopes.[/quote]

I believe this is what you need:

If you use MBS Plugins, you have all the options in our MDQueryMBS class.