topaz: (QRcode)
Tim Pierce ([personal profile] topaz) wrote2009-03-18 12:46 pm
Entry tags:

ask dr. lj: adding dispatch actions to Thunderbird/Firefox for highlighted text?

Here's something I find myself doing often, on my GNOME and OSX desktops: copying, say, a ticket number from an email message or a web page, and then dropping it into a search form to bring up more information about that ticket.  I already have bookmark shortcuts like "b ####" to bring up a Bugzilla page about a given ticket number.

It would be ten kinds of awesome if I could right-click on a highlighted region and have options like "Bugzilla lookup", "Siebel lookup", "RT lookup", etc., which would just pass that highlighted text to an appropriate keyword bookmark, and cut out one of those steps.

(Being able to do this from any app at all, like an xterm or an editor window, would be even better, but seems less likely to be feasible in either GNOME or OSX.)

Has anyone done anything like this with an XUL or Greasemonkey extension, or the like?  Seen anything similar?
randysmith: (Default)

[personal profile] randysmith 2009-03-18 04:52 pm (UTC)(link)
I made a few choice curses after digging in and discovering that I couldn't do this inside of Mac Mail. That leads on to some more choice curses about the lack of any meaty UI customizability within the Macintosh interface; they've got Applescript and automator and they actively appear *not* to want you to customize the user/computer communication.

Which is just to say: Yes, this would be an awesome thing to have, and I can't believe it's not hackable in the world of free software, but I have no idea how hard it'd be to do.

[identity profile] rwx.livejournal.com 2009-03-18 04:52 pm (UTC)(link)
addins can do this. in ff2.x, there was on that did this but i couldn't find it in a quick search.

it took a list of display names and urls with a variable representing the url encoded selected text.

[identity profile] points.livejournal.com 2009-03-18 05:09 pm (UTC)(link)
Look into GCM - Gnome Clipboard Manager - I believe it allows for contextual actions to be brought up at the point of the mouse, if the text under it matches a regexp.

[identity profile] jbsegal.livejournal.com 2009-03-18 09:16 pm (UTC)(link)
Timing:
http://feeds.gawker.com/~r/lifehacker/full/~3/Lec4FiHYOvg/how-can-i-search-google-from-any-application

[identity profile] ctseawa.livejournal.com 2009-03-18 09:26 pm (UTC)(link)
You might also find jumpcut (http://jumpcut.sourceforge.net/) useful. I haven't tried it but a few of my co-workers here love it.