I want to 开发者_运维问答create an iTunes style search function where a searchfield will look through the contents of a directory and display the results in an NSTableView.
I\'m trying to configure an NSPredicateEditor (in Interface Builder) to edit the predicate for an NSMetadataQuery.
Since 10.5, Spotlight on Mac OS X has this nice Dictionary integration you might have seen: Any ideas how anything like this could be implemented?
In Objective-C, I am setting up an NSMetaDataQuery and setting the setSearchScope: for the query to s开发者_JAVA技巧earch a specific users Documents folder. The search works but doesn\'t recurse down
I want to write the python equivalent of mdfind. I want to use the .Spotlight-V100 metadata and I cannot find a description for the metadata db format used, but NSMetadataQuery seems to be what I need
I have an application that will play a series of radio stations by choosing them from a drop down menu. Ideally I\'d like to add some code, so that a spotlight search that would return any of the item
I am writing a Spotlight importer for an application that stores content in files with meaningless names. There is benefit from allowing the user to search for these files, however.
I was trying to restrict the scope of an NSMetadataQuery item. I know there\'s 开发者_如何转开发the -setSearchScope: method (see the docs), but it lets me only decide in which directories the item wil
Can I use the Spotlight APIs (they exist, right?) in Cocoa to determine if Spotlight (in the upper-right corner) would match a given filePath with a given string?
I\'m implem开发者_StackOverflowenting a MacOS X\'s spotlight like universal search for a web based software. So the basic functionality (fetching results, displaying them) is done and it\'s working pe