AutoHotkey script to make Tab button toggle folders search on/off in FARR by adding/removing +\ to the searchbox.
Background
FARR's default Tab shortcut autocompletes the selected results full path into the search box.
https://www.donationcoder.com/Software/Mouser/findrun/help/hotkey_and_shortcut_summary.htm
I never have use for that but often want to temporarily limit searches to folders only and pressing Tab (with this script running) is quicker than typing or removing +\ in the searchbox.
Code: ( autohotkey)
#NoEnv
#SingleInstance force
;FARR helper script
;by nod5 181119
;Press Tab to toggle search only folders
;Note: Overrides FARR default Tab autocomplete hotkey
#IfWinActive, ahk_exe FindAndRunRobot.exe
Tab::
ControlGetText, farr, TEdit1, ahk_exe FindAndRunRobot.exe
farr := InStr(farr, "+\") ? StrReplace(farr, "+\", "") : farr " +\"
ControlSetText, Tedit1, % farr, ahk_exe FindAndRunRobot.exe
return
#IfWinActiveBackground
FARR's default Tab shortcut autocompletes the selected results full path into the search box.
https://www.donationcoder.com/Software/Mouser/findrun/help/hotkey_and_shortcut_summary.htm
I never have use for that but often want to temporarily limit searches to folders only and pressing Tab (with this script running) is quicker than typing or removing +\ in the searchbox.









