Shortcut Key for Context Menu Search?
Shortcut Key for Context Menu Search?
Is it possible to assign a shortcut key for Context Menu search? So after pressing hotkey Everything will launch within that folder.
- Attachments
-
- 2021-06-25_16-28-32.png (9.28 KiB) Viewed 20528 times
Re: Shortcut Key for Context Menu Search?
Yes, that is possible. It requires 2 steps:
- Type the following in the Everything search bar and press ENTER:
Code: Select all
/hotkey_explorer_path_search=1
- Go to Menu:Tools > Options > General > Keyboard and enter your keyboard shortcut in the Toggle window Hotkey: field.
Re: Shortcut Key for Context Menu Search?
2NotNull
For me, Everything 1.5.0.1266a (x64) only opens Everything - without path.
Do you have any idea what else could be set there?
For me, Everything 1.5.0.1266a (x64) only opens Everything - without path.
Do you have any idea what else could be set there?
Re: Shortcut Key for Context Menu Search?
Here is a supplementary question:
Why is it necessary to make an additional entry in the Everything search bar (-> /hotkey_explorer_path_search=1),
although there is already a selection option in the Everything options?
---
Maybe I'm doing something wrong, because in Everything version 1.4.1.1011 (x64) I can e.g. after Shift+F11
also only call Everything - without a path in the search bar.
Why is it necessary to make an additional entry in the Everything search bar (-> /hotkey_explorer_path_search=1),
although there is already a selection option in the Everything options?
---
Maybe I'm doing something wrong, because in Everything version 1.4.1.1011 (x64) I can e.g. after Shift+F11
also only call Everything - without a path in the search bar.
Re: Shortcut Key for Context Menu Search?
The hidden /hotkey_explorer_path_search=1 ini setting will change your Everything search to the current path in Windows Explorer, when you press the Everything Hotkey from Windows Explorer.
Does Everything change the search to the current path in Windows Explorer?
-If not, please you please send the debug output after pressing your Hotkey:
To close the debug console:
Please confirm, in Windows Explorer, press your Everything hotkey.For me, Everything 1.5.0.1266a (x64) only opens Everything - without path.
Does Everything change the search to the current path in Windows Explorer?
-If not, please you please send the debug output after pressing your Hotkey:
- In Everything, type in the following search and press ENTER:
/debug - In Windows Explorer, press your Everything Hotkey.
- What is shown in the debug console?
To close the debug console:
- In Everything, type in the following search and press ENTER:
/debug
Re: Shortcut Key for Context Menu Search?
Setting the option and a hotkey works perfect here from inside of any Explorer window.
Windows 10 Home x64 Version 21H1 (OS Build 19043.1081)
Everything 1.5.0.1266a (x64)
Windows 10 Home x64 Version 21H1 (OS Build 19043.1081)
Everything 1.5.0.1266a (x64)
Re: Shortcut Key for Context Menu Search?
2void
Thanks for the information!
Unfortunately I did not consider that the shortcut only works when using Windows Explorer,
since I almost don't use it.
My attempts to replace the context menu item "Search Everything 1.5a..." in Total Commander with the shortcut F11
were unsuccessful.
In Windows Explorer the shortcut works.
Thanks again!
PS:
Now I at least know what function the "Toggle window Hotkey:" option has,
because I couldn't understand it from the tooltip.
Thanks for the information!
Unfortunately I did not consider that the shortcut only works when using Windows Explorer,
since I almost don't use it.
My attempts to replace the context menu item "Search Everything 1.5a..." in Total Commander with the shortcut F11
were unsuccessful.
In Windows Explorer the shortcut works.
Thanks again!
PS:
Now I at least know what function the "Toggle window Hotkey:" option has,
because I couldn't understand it from the tooltip.
Re: Shortcut Key for Context Menu Search?
I use the context menu "Search Everything 1.5a..." in TC for this purpose.tuska wrote: ↑Mon Jun 28, 2021 8:47 am 2void
Thanks for the information!
Unfortunately I did not consider that the shortcut only works when using Windows Explorer,
since I almost don't use it.
My attempts to replace the context menu item "Search Everything 1.5a..." in Total Commander with the shortcut F11
were unsuccessful.
In Windows Explorer the shortcut works.
Thanks again!
PS:
Now I at least know what function the "Toggle window Hotkey:" option has,
because I couldn't understand it from the tooltip.
Just searching for an Autohotkey script to assign an hotkey to it.
Re: Shortcut Key for Context Menu Search?
For such a function I would not want to extend my programs in the systray with an AHK script.
I have now assigned a shortcut (em_command) to the following in Total Commander:
Code: Select all
Command: C:\Tools\Everything\Everything64.exe
Parameters: -path "%P"
EDIT:
Code: Select all
From: Command: C:\Tools\Everything\Everything64.exe -parentpath - Parameters: %V
To: Command: C:\Tools\Everything\Everything64.exe ........... - Parameters: -path "%P" -> better, thanks to NotNull!
Last edited by tuska on Mon Jun 28, 2021 11:02 am, edited 3 times in total.
Re: Shortcut Key for Context Menu Search?
So you have no need for the Everything hotkeytuska wrote: ↑Mon Jun 28, 2021 9:37 amIf it were possible to use the context menu-shortcut for Windows Explorer in Total Commander, then I would prefer that.
For such a function I would not want to extend my programs in the systray with an AHK script,
because then I could assign a shortcut (em_command) to the following in Total Commander:
Command: C:\Tools\Everything\Everything64.exe -parentpath
Parameters: %V
I most often search for instances of files and so this is my prefered button in TC.
Code: Select all
TOTALCMD#BAR#DATA
C:\Tools\Everything\Everything64.exe
-search %S -nonewwindow
C:\Tools\Everything\Icons\Everything-Green.ico
Everything Search for selected file
0
-1
Re: Shortcut Key for Context Menu Search?
.. or add it to the TC user menu and remap the F11 hotkey to it. Or one of the other many TC configuration options ..
But I don't have to tell you seasoned TC veterans all that of course
For others:
PS: What does F11 do out of the box? Nothing?
But I don't have to tell you seasoned TC veterans all that of course
For others:
- In Total Commander, go to Menu:Start > Change Start Menu...
- Click the Add Item button
- Total Commander = Everything here
(or any other name you like) - Command = C:\Program Files\Everything\Everything.exe
(replace with the actual path to your Everything.exe) - Parameters = -path "%P"
- Click the OK button (don't enter the shortcut here)
- Select Menu:Start > Change Start Menu again
- Make a note of the line which 'Everything here' is on (let's say 3)
- Go to Menu:Configuration > Options
- Select Misc in the left pane (at the bottom)
- In the Redefine hotkeys (Keyboard remapping) section, select Hotkey = F11
- Command = cm_UserMenu3 (click on the little magnifying glass to select it)
(replace cm_UserMenu3 withe the actual line 'Everything here' is on) - Press the OK button
- Press the OK button
- Done.
PS: What does F11 do out of the box? Nothing?
Re: Shortcut Key for Context Menu Search?
So.. how to do it? Answer not clear.
Re: Shortcut Key for Context Menu Search?
Even the original question was not clear
If you want to press a keyboard shortcut in File Explorer to start a search in Everything for the current Explorer folder :
If you want something different, please specify.
If you want to press a keyboard shortcut in File Explorer to start a search in Everything for the current Explorer folder :
NotNull wrote: ↑Sun Jun 27, 2021 8:41 pm Yes, that is possible. It requires 2 steps:
- Type the following in the Everything search bar and press ENTER:
Code: Select all
/hotkey_explorer_path_search=1
- Go to Menu:Tools > Options > General > Keyboard and enter your keyboard shortcut in the Toggle window Hotkey: field.
If you want something different, please specify.
Re: Shortcut Key for Context Menu Search?
Did. Nothing happens. I already had a toggle window shortcut set. It toggled the everything window normally. I want a shortcut for opening Everything with path already set to the folder I pressed the shortcut from. Basically the shortcut to the context menu button (see image). So far nothing helped. That code (/hotkey_explorer_path_search=1) did absolutely nothing.NotNull wrote: ↑Wed Jun 30, 2021 9:14 pm Even the original question was not clear
If you want to press a keyboard shortcut in File Explorer to start a search in Everything for the current Explorer folder :
NotNull wrote: ↑Sun Jun 27, 2021 8:41 pm Yes, that is possible. It requires 2 steps:
- Type the following in the Everything search bar and press ENTER:
Code: Select all
/hotkey_explorer_path_search=1
- Go to Menu:Tools > Options > General > Keyboard and enter your keyboard shortcut in the Toggle window Hotkey: field.
If you want something different, please specify.
Re: Shortcut Key for Context Menu Search?
/hotkey_explorer_path_search=1 only works for Windows Explorer.
When hotkey_explorer_path_search is enabled, pressing the Everything hotkey from within Windows Explorer will set the Everything search to the current path in Windows Explorer.
Make sure the context menu is not shown when pressing your Everything Hotkey.
-If it is shown, Everything might not receive focus.
What file browser are you using? (what program are you pressing the Everything Hotkey in?)
If Everything is running as an admin, hotkey_explorer_path_search=1 might not work.
Please try running Everything as a standard user:
When hotkey_explorer_path_search is enabled, pressing the Everything hotkey from within Windows Explorer will set the Everything search to the current path in Windows Explorer.
Make sure the context menu is not shown when pressing your Everything Hotkey.
-If it is shown, Everything might not receive focus.
What file browser are you using? (what program are you pressing the Everything Hotkey in?)
If Everything is running as an admin, hotkey_explorer_path_search=1 might not work.
Please try running Everything as a standard user:
- In Everything, from the Tools menu, click Options.
- Click the General tab on the left.
- Check Everything service.
- Uncheck Run as administrator.
- Click OK.
- Exit Everything (right click the Everything tray icon and click Exit).
- Restart Everything.
Re: Shortcut Key for Context Menu Search?
It works now! Thanks for the help.
Now I have a different problem. Now how do I open Everything with keyboard shortcut without folder path (meaning search should remain empty)
It works when I'm not inside folder. I want to use different shortcut for one with folder path and one for normal whole pc search like before.
Hope my question was clear.
One more question.
How to disable /hotkey_explorer_path_search=1 option?
Thanks!
Now I have a different problem. Now how do I open Everything with keyboard shortcut without folder path (meaning search should remain empty)
It works when I'm not inside folder. I want to use different shortcut for one with folder path and one for normal whole pc search like before.
Hope my question was clear.
One more question.
How to disable /hotkey_explorer_path_search=1 option?
Thanks!
Re: Shortcut Key for Context Menu Search?
Unfortunately, there's no option to do that yet.
The hotkey_explorer_path_search setting is either on or off.
To disable hotkey_explorer_path_search:
The hotkey_explorer_path_search setting is either on or off.
To disable hotkey_explorer_path_search:
- In Everything, type in the following search and press ENTER:
/hotkey_explorer_path_search=0 - If successful, hotkey_explorer_path_search=0 is shown in the status bar for a few seconds.
Re: Shortcut Key for Context Menu Search?
An AutoHotkey script to launch Everything.exe with the current path in an active Explorer Window with the Ctrl + F9 keypress and
also to run Everything on Ctrl + Shift + F9 without changing the search:
Everything.ahk
Adjust the keyboard shortcuts (^f9 and ^+f9) as needed.
also to run Everything on Ctrl + Shift + F9 without changing the search:
Everything.ahk
Code: Select all
GetActiveExplorerPath(hwnd=0){
if(hwnd==0){
explorerHwnd := WinActive("ahk_class CabinetWClass")
if(explorerHwnd==0)
explorerHwnd := WinExist("ahk_class CabinetWClass")
}
else
explorerHwnd := WinExist("ahk_class CabinetWClass ahk_id " . hwnd)
if (explorerHwnd){
for window in ComObjCreate("Shell.Application").Windows{
try{
if (window && window.hwnd && window.hwnd==explorerHwnd)
return window.Document.Folder.Self.Path
}
}
}
return ""
}
^f9::
path := GetActiveExplorerPath()
Run , "C:\Program Files\Everything\Everything64.exe" -path "%path%"
return
^+f9::
Run , "C:\Program Files\Everything\Everything64.exe"
return
Re: Shortcut Key for Context Menu Search?
Thanks so much for all your help. The Autohotkey script was awesome!
Thanks again.
Thanks again.