In Jaguar, the new version of Sherlock can be controlled via "sherlock:" URLs. This allows you to open Sherlock to a particular channel and set some of the data for that channel. This is handy if you want to create URL shortcuts for the channels that you use most frequently.
The URLs take the form of "sherlock://[channel id]?[parameters]". For instance, to open the dictionary channel and look up the word "algorithm", you can use the URL "sherlock://com.apple.dictionary?query=algorithm". To just open Sherlock to the dictionary channel, you'd use "sherlock://com.apple.dictionary".
Read the rest of the article for a list of IDs and parameters for the various channels.
The channel ids and parameters that can be used are as follows:
The URLs take the form of "sherlock://[channel id]?[parameters]". For instance, to open the dictionary channel and look up the word "algorithm", you can use the URL "sherlock://com.apple.dictionary?query=algorithm". To just open Sherlock to the dictionary channel, you'd use "sherlock://com.apple.dictionary".
Read the rest of the article for a list of IDs and parameters for the various channels.
The channel ids and parameters that can be used are as follows:
- AppleCare - com.apple.applecare
- query - The query string to search for.
- Dictionary - com.apple.dictionary
- query - The query string to search for.
- eBay - com.apple.ebay
- The eBay channel doesn't support setting of any parameters.
- Flights - com.apple.flights
- The Flights channel doesn't support setting of any parameters.
- Internet - com.apple.internet
- query - The query string to search for.
- Movies - com.apple.movies
- zip - The zip code for the region to search in.
- city - The city to search in
- state - The state to search in
- zip - The zip code for the region to search in.
- Pictures - com.apple.pictures
- query - The query string to search for.
- Stocks - com.apple.stockQuotes
- query - The stock symbol to search for.
- symbol - The stock symbol to search for (alternative for query)
- query - The stock symbol to search for.
- Translation - com.apple.translation
- source - The text to translate.
- Yellow Pages - com.apple.yellowPages
- query - The query string to search for.
- zip - The Zip code to search in.
- city - The city to search in.
- state - The state to search in.
- query - The query string to search for.
- Google Search (Available from unitsix.org) - org.xmldatabases.GoogleSearch
- query - The query string to search for.
•
[3,413 views]

