The noresults alias

Top  Previous  Next

You can now create a special alias called noresults.

 

If user hits enter when no results are shown, this alias will be triggered.

 

It can be useful if you want to do something like launch what they type directly (as if it was on path), or invoke another search program, etc.  Just use $$1 in the results.

 

Important: you need to set the regular expression pattern to:

^noresults (.*)$

 

 


 

IMPORTANT NOTE 9/17/12: Starting with v2.07, you can now set the action to perform on the search string when there are no results, directly from the Launching Files options tab, without having to mess with any custom aliases.