Using Spotlight Search Results to Open an App in a Specific State

I have an application that will play a series of radio stations by selecting them from the drop-down menu. Ideally, I would like to add some code so that a spotlight search that returns any of the items in the drop-down list and open the application as if you had done it from the application itself.

The searchlight documentation does not give any indication of whether this is possible, except for some old posts that I found about creating hidden files for indexing.

Any clues?

+3
source share
1 answer

/ ? Spotlight - ---. DB ~/Library/Caches. "" , . "" /doctype ( ) , Spotlight.

: AddressBook.app.

, ( ) . , Spotlight. ".transcriptstub", .

"", .. /Cache , . ( NSOperation, ), , .

, (, UUID?) . , .

+3

Source: https://habr.com/ru/post/1771204/


All Articles