ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Find And Run Robot

FARR helper script: Tab to toggle folders only search on/off

(1/1)

Nod5:
AutoHotkey script to make Tab button toggle folders search on/off in FARR by adding/removing +\ to 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.exeTab::ControlGetText, farr, TEdit1, ahk_exe FindAndRunRobot.exefarr := InStr(farr, "+\") ? StrReplace(farr, "+\", "") : farr " +\"ControlSetText, Tedit1, % farr, ahk_exe FindAndRunRobot.exereturn#IfWinActive
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.

mouser:
Very nice! I didn't know it would be possible to intercept and modify the text in an input box in that fashion.  Very neat.  :up:

Navigation

[0] Message Index

Go to full version