13401
Find And Run Robot / Re: [Feature request/Plugin idea] add search in dictionary.com
« Last post by mouser on May 29, 2011, 09:34 AM »Hi Werizon,
Your question is a perfect one for using the webgrab plugin, and ewemoa, the author of the webgrab plugin, suggested the solution to me in a personal message:
You can accomplish what you want using the dosearchontrigger command.
Here is the alias import text; you can go to the alias tab, open up myaliases.alias and right-click to "import" this:
Alternatively here is a screenshot of the alias:

Essentially what you are doing here is telling FARR to *perform* the webgrab "search" after the user types something that matches the expression "mdict blah.." and then hits enter; so this acts as if the user had typed "webgrab http://...." with the $$1 replaced.
Your question is a perfect one for using the webgrab plugin, and ewemoa, the author of the webgrab plugin, suggested the solution to me in a personal message:
You can accomplish what you want using the dosearchontrigger command.
Here is the alias import text; you can go to the alias tab, open up myaliases.alias and right-click to "import" this:
Code: Text [Select]
- 1000>>>mdict>->search reference.com for "$$1" | dosearchontrigger webgrab http://dictionary.reference.com/browse/$$1 `<div id="rpane">([\s\S]*)<div id="v2" class="sep_top">` `%1` html>+>^mdict (.+)$
Alternatively here is a screenshot of the alias:
Essentially what you are doing here is telling FARR to *perform* the webgrab "search" after the user types something that matches the expression "mdict blah.." and then hits enter; so this acts as if the user had typed "webgrab http://...." with the $$1 replaced.

Recent Posts