HOME | Blog | Software | Reviews and Features | Forum | Help | Donate
Click here to
donate and join now!
Welcome Guest.   Make a donation to an author on the site March 27, 2015, 11:02:16 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.
Read the full one-year retrospective report on DonationCoder.com.
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: Alias autocompletion  (Read 1818 times)
Supporting Member
Posts: 1,894

Solve issues simply.

View Profile WWW Give some DonationCredits to this forum member
« on: June 26, 2007, 04:48:26 AM »

Is it possible to use aliases to limit results?
for example say if I have an alias "add to winrar archive" (alias would be called "backup" for example) could I then do something similar to:
[copy or print]
c:\utils\\.txt +backup
to add all text documents in a folder under c:\utils to a winrar archive?

I ask this because currently you'd have to start the FARR command with an alias, so the autocompletion which is so great will not work for the $$1 after the alias. It would be good either to have the autocomplete work for aliases or to be able to add in the alias after the command. Possibly both. I could then use
[copy or print]
backup c:\utils\\.txt
I guess if this is already possible, then this is a hidden request for a "getting started section" which would show various FARR commands (from simple to complex) with a screenshot showing the result in farr.  embarassed
« Last Edit: June 26, 2007, 04:50:05 AM by justice » Logged

First Author
Posts: 34,301

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #1 on: June 26, 2007, 08:48:45 AM »

you can do this already, believe it or not smiley

but yes it is very hard to figure out how since it's such a weird thing.

the funny part is that you already figured out how to do it with your first example smiley

to learn more, go to the help file, and the section Advanced Use -> Using Alias Action Keywords:

A new feature with FARR version 2 is the ability to specify alias names in your search string using the + prefix (just like keyword modifiers).

When an alias name is specified in this way, anywhere on the search string, it does not effect search, but it will cause the alias results to be displayed AFTER the result file is selected, with the selected file name as argument $$1 in the alias.

In this way, you can perform a normal file/folder search and then launch a specific alias command with that file/folder as an ARGUMENT.

For example, you could create an alias named +hexedit

whose result contents are:
C:\Program Files\HexEditors\HexEdit.exe "$$1"

Now you can type in your search:
+hexedit mydocsearch...

As you type mydocsearch words, FARR will let you search for files as normal.

After you choose the result, instead of launching the result file, you will be presented with

C:\Program Files\HexEditors\HexEdit.exe "SELECTEDFILE"

Which you can then launch.

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.028s | Server load: 0.02 ]