Here is an AHK script for replacing the current folder search in Explorer (CTRL+F). Why? Because I often use small Explorer windows and the default search sidebar the takes up almost the entire window so using Everything is quicker compared to resizing the explorer window.
;-- EverythingExplorer ---
;-- replace explorer CTRL+F active folder search with Everything
;-- AHK script by nod5 -- http://nod5.dcmembers.com/
#IfWinActive, ahk_class ExploreWClass
^F::
#IfWinActive, ahk_class CabinetWClass
^F::
WinGet, xid, ID, A
ControlGetText,xpath, Edit1, ahk_id %xid%
run, %A_ProgramFiles%\Everything\Everything.exe -search "%xpath%\ "
return
A problem though: when the path includes spaces, the above does not work. I need to pass a quoted path to Everything. I tried
""%xpath%\" "
and
"""%xpath%\"" "
and
"^"%xpath%\^" "
but that didn't work. Any ideas on how to get it to work?
edit: once the path issue is sorted a similar script could be made to do the searches through FARR via the FARR everything plugin.
edit2:temporary workaround, with barely noticeable delay:
;-- EverythingExplorer ---
;-- replace explorer CTRL+F active folder search with Everything
;-- AHK script by nod5 -- http://nod5.dcmembers.com/
#IfWinActive, ahk_class ExploreWClass
^F::
#IfWinActive, ahk_class CabinetWClass
^F::
WinGet, xid, ID, A
ControlGetText,xpath, Edit1, ahk_id %xid%
;run, %A_ProgramFiles%\Everything\Everything.exe -search "%xpath%\ "
run, %A_ProgramFiles%\Everything\Everything.exe
WinWaitActive, ahk_class EVERYTHING
ControlSetText,Edit1,"%xpath%"%A_Space%, ahk_class EVERYTHING
ControlSend,Edit1,{End},ahk_class EVERYTHING
return