Keyboard shortcut to "Everything-Search this current folder"

Have a suggestion for "Everything"? Please post it here.
Coldblackice
Posts: 85
Joined: Sun Jul 13, 2014 12:20 am

Keyboard shortcut to "Everything-Search this current folder"

Post by Coldblackice »

I love the Everything context menu option that can be accessed in explorer/file folders to limit the scope of the search to that folder. Would it be possible to implement an ability to attach a user-definable Everything keyboard shortcut to this ability natively?
NotNull
Posts: 5961
Joined: Wed May 24, 2017 9:22 pm

Re: Keyboard shortcut to "Everything-Search this current folder"

Post by NotNull »

I think that is a little hard to realize from within Everything, as at that moment Everything is no longer in control but File Explorer.

And as you can't add extra keyboard shortcuts to File Explorer, the only way I can come up with is writing a AutHotKey (AHK) script - or similar - taht listens to the keyboard; waits for that specific keyboard combination, but only when it it is pressed in Explorer; reads the currently acive folder in Explorer and starts Everything with this folder as the search query.

Couple of lines of code, but not for now (it's midnight in my country)
void
Developer
Posts: 19901
Joined: Fri Oct 16, 2009 11:31 pm

Re: Keyboard shortcut to "Everything-Search this current folder"

Post by void »

Please try enabling hotkey_explorer_path_search:
  • In Everything, type in the following search and press ENTER:
    /hotkey_explorer_path_search=1
Please set a hotkey to launch Everything:
  • In Everything, from the Tools menu, click Options.
  • Click the Keyboard tab on the left.
  • Click to the right of Show Window Hotkey and press a new keyboard shortcut (eg: Ctrl + F12).
  • Click OK.
Now, when you press this shortcut key while in Windows Explorer, Everything will be brought into view with the path used in Windows Explorer.

Note: Requires Everything to be running in the background.
runmode
Posts: 50
Joined: Sat May 27, 2023 11:22 pm

Re: Keyboard shortcut to "Everything-Search this current folder"

Post by runmode »

I like to continue this old tread with a subsequent feature request:

/hotkey_explorer_path_search=1
combined with either one keybord options
Show window hotkey
Toggle window hotkey
will open the current Explorer path in Everything, but will overwrite the previous search.

I could use the option
New window hotkey
but this might soon crowd my screen with windows, while we have tabs.

I it a proposal worth considering to open the Explorer path search always in a new TAB ?
The option setting for this could be /hotkey_explorer_path_search=2.

I've well noticed, this could be achieved with 3rd party explorers using the -newtab option but I would prefer to see that within Everything working from Windows Explorer.
void
Developer
Posts: 19901
Joined: Fri Oct 16, 2009 11:31 pm

Re: Keyboard shortcut to "Everything-Search this current folder"

Post by void »

One way to do this now:

Clear your toggle window hotkey.
Set the New window hotkey.
Set Tools -> Options -> Advanced -> open_new_windows_in_tabs=true

Note: you can still create new windows with File -> New Window.

I will look into an easier way to do this.
Thank you for the suggestions.
runmode
Posts: 50
Joined: Sat May 27, 2023 11:22 pm

Re: Keyboard shortcut to "Everything-Search this current folder"

Post by runmode »

Great, this is exactly what I was lookong for :D
Thank you so much !