Welcome Guest.   Make a donation to an author on the site September 19, 2014, 02:57:01 PM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
The N.A.N.Y. Challenge 2010! Download 24 custom programs!
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: Alias: igo + searchterm  (Read 1120 times)
link68759
Participant
*
Posts: 3

View Profile Give some DonationCredits to this forum member
« on: May 14, 2013, 05:09:01 PM »

Alias
^define (.*)
igo http://ninjawords.com/?q=$$1 /stayopen

Doesn't work as expected. Or rather, it doesn't work at all. I've been using FarSubScript for a while and all the dictionary things just seem so redundant.

Am I doing something wrong? Is this a bug? Is there a way to just have "hotstrings" where "nw" automatically is replaced by "igo http://ninjawords.com/?q=" in the search box?
Logged
mouser
First Author
Administrator
*****
Posts: 33,361



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #1 on: May 14, 2013, 05:23:08 PM »

The reason it doesnt work is that "igo" is the name of another alias.
If you look at the igo alias itself (in the Core-Internet alias file), you'll see it uses the special command "htmlviewurl".

So, change your alias from "igo http://ninjawords.com/?q=$$1 /stayopen"
to something like "Search Ninjawords for $$1 | htmlviewurl http://ninjawords.com/?q=$$1 /stayopen"

That assumes you want the web page to open up inside of the FARR window.  If you wanted it to open your external web browser you could just leave off the "htmlviewurl" part.
Logged
link68759
Participant
*
Posts: 3

View Profile Give some DonationCredits to this forum member
« Reply #2 on: May 14, 2013, 05:53:55 PM »

Thanks for the quick reply; I was able to get it sorted out
Logged
daliu
Participant
*
Posts: 1


View Profile Give some DonationCredits to this forum member
« Reply #3 on: December 28, 2013, 09:17:49 AM »

hi~!
Search Ninjawords for $$1 | htmlviewurl http://ninjawords.com/definitions/get/$$1 /stayopen

you can use this. response is json.

if have a jsonview will be great
Logged
Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.029s | Server load: 0.06 ]