DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: [Find And Run Robot] disadvantage of navigate folder using alias name  (Read 5,304 times)

hihihlo

  • Participant
  • Joined in 2009
  • *
  • Posts: 14
FARR' folder navigation feature is very important for me !
If I type "harddi" in editbox and "c:\test\HardDisk\" appear in fist line of result area,
I can press 'TAB' key to show "c:\test\HardDisk\" in editbox and show files & subfolder in result area.

Now I add a alias word name "hd",
I hope typing "hd" in editbox and press 'TAB' key can show "c:\test\HardDisk\" in editbox as above,
but FARR always append a space char in editbox (became "c:\test\HardDisk\ ") !
If I want locate into subfolder below "HardDisk\" by type part subfolder name,
I must press 'backspace' key first else FARR can't find some item !
This is too inconvenient !

---------- My setting in "edit group alias" dialog :
alias name : "c:\test\HardDisk\"  (for can use 'TAB' key to auto complete)
Regular Pattern : ^hd$
Result : "c:\test\HardDisk\"

Can you provide a option to disable append space char when auto complete ?
Or add a optional editbox field "Restart search when auto complete",
similar press 'ENTER' key to execute "restartsearch" keyword.

Thanks your great program.

Best Regards.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
welcome hihihlo  :Thmbsup:

It's not a bad idea to add a way to tell farr not to put a space.

However i'd like to point out that i think there is an easier way to do what you want.

If you make an alias with regular expression:
^hd(.*)$

And result:
dosearch c:\test\HardDisk$$1

then you will be able to type
hd\mysubfolder

to browse file/folder navigation from C:\test\HardDisk\mysubfolder

hihihlo

  • Participant
  • Joined in 2009
  • *
  • Posts: 14
You are right !
Your way can prevent append a space char.
Thanks very much !!

Original address: https://www.donationcoder.com/forum/index.php?topic=18602.0