spotlight
How to search a directory and display search results in a table in Objective-C
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.[详细]
2023-02-09 22:57 分类:问答Configuring NSPredicateEditor(RowTemplate) for Spotlight metadata queriesI'
I\'m trying to configure an NSPredicateEditor (in Interface Builder) to edit the predicate for an NSMetadataQuery.[详细]
2023-02-05 12:15 分类:问答OS X Spotlight searching from a user-defined database?
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?[详细]
2023-01-25 05:44 分类:问答NSMetaDataQuery, set the setSearchScope paths to be recursive?
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[详细]
2023-01-24 16:12 分类:问答How can I write a python script equivalent of mdfind using PyObjC bindings and NSMetadataQuery?
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[详细]
2023-01-21 15:05 分类:问答Using a Spotlight search result to open an application in a specific state
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[详细]
2023-01-21 13:47 分类:问答Can I change name displayed in Spotlight search results?
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.[详细]
2023-01-20 00:20 分类:问答Limit scope of NSMetadataQuery
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[详细]
2023-01-19 14:28 分类:问答Using Spotlight in Cocoa
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?[详细]
2023-01-16 11:43 分类:问答Spotlight top hit algorithm
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[详细]
2023-01-05 16:21 分类:问答