On 14/03/2009, at 8:44 AM, Pete Siemsen wrote:

> I maintain some webpages of definitions for the people at my site, for
> example
>
> http://www.cisl.ucar.edu/nets/topics/s.shtml
>
> I'd like to use QuickSilver to look up the terms in the files.  Even
> better would be if I could highlight a string in Terminal, Safari,
> Mail etc. and hit a hotkey to see the definition, perhaps by opening a
> Safari window onto the webpage.
>
> I implemented functionality like this with a Mac OS X Service that
> executes a Ruby script that throws up a dialog box.  It seems that
> QuickSilver could do a similar job better. I tried adding the HTML
> file to my QuickSilver catalogue, and specified the content as "text
> line", and it kindaworks - QuickSilver displays the ugly raw HTML
> containing the search term from the web page.
>
> Any suggestions welcome.  I could make minor changes to the web pages
> if that would help, but they serve a useful function in their present
> form.  I'm a QuickSilver newbie, so the answer might simply be "get
> plugin XYZ".

Have a read of 
http://www.davideisinger.com/article/custom-quicksilver-actions-in-ruby 
  and see if you can use that approach.

Reply via email to