Back

Yahoo!辞書 and Quicksilver

#1
kurojohn asked me how to use Quicksilver to look up words with Yahoo!辞書. Here's how I do it.

Step 1: Install the Safari or Camino module. This will allow Quicksilver to include your bookmarks in your catalog. Also install the Web Search module.

Step 2: Add these bookmarks to your browser's favorites:

(J to J) qss-http://dic.yahoo.co.jp/dsearch?enc=UTF-8&p=***&stype=1&dtype=0
(J to E) qss-http://dic.yahoo.co.jp/dsearch?enc=UTF-8&stype=1&dtype=3&p=***
(E to J) qss-http://dic.yahoo.co.jp/dsearch?enc=UTF-8&p=***&stype=1&dtype=1

Notice how the URLs begin with qss-http://. Now Quicksilver knows that this a special bookmark.

(Step 2.5: Be sure to update your catalog)

Step 3: Call up Quicksilver and type in the name of your desired bookmark. If it were a normal bookmark, pressing Enter would open a new browser window (or tab) with the bookmark's URL. However, with this special bookmark, pressing Enter will take you to a third field in Quicksilver. There, you can type up the word you want to look up. Pressing Enter then takes you to the corresponding Yahoo!辞書 page.

There's more info on this page:
http://docs.blacktree.com/quicksilver/we...qss%20http
Reply
#2
It gets better. Once you've got that working, say you find a word on a webpage you'd like to look up. Instead of selecting it, copying it, opening quicksilver, calling your bookmark, and pasting your word, there is a slightly quicker way of doing this.

Note: This method requires triggers enabled.

Under the trigger preferences, you should see a few icons to the left side of the screen. Choose Quicksilver. You'll then see two entries. Among them is Command Window with Selection. Be sure to set a keyboard shortcut of your choosing under the Trigger column.

So now go to your webpage and select a word. When you call this trigger, Quicksilver will take whatever you selected in the web browser and put it in the first pane. Now you can type in an action. Call up Find With... if it's not already selected. Now press Tab or Enter to the third pane, where you can choose your bookmark. Voila. It works just like the above method, only in reverse, and without having to copy and paste.

You can also play with the other trigger: Command Window in Text Mode. If you call this trigger, the first pane becomes an input box. You can type anything in here, and quicksilver can use this input for websites, just like in the method above.
Edited: 2007-07-27, 3:09 am
Reply