-
-
Notifications
You must be signed in to change notification settings - Fork 412
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] Add option to default to EverythingToolbar instead of native search #63
Comments
What would be the benefit compared to the Toolbar in the taskbar as its now. |
I actually really like this idea. However I can imagine the implementation being really hacky which I'm really not a fan of. Definitely something to look into though! |
I prefer to hide the 'search with Cortana' eyesore since it's an inefficient use of the taskbar and I have muscle memory of hitting the windows key and typing to search. I can't be the only one that does this - so overriding the native search would be highly appreciated. For the last few years I've been using Wox so I can hit alt+space and start typing to search with Everything, but replacing the native windows search would be a more elegant solution. |
I think this could be done in this way - CortanaApp object can be called from JS code and somehow access native APIs (that's how a browser window opens from the Bing search results), but it would require some additional reverse-engineering. |
+1! My main issue here is that I have to use my mouse, which is no fun (for me!). If you could add a keybinding for opening search I could get used to it (not necessarily override |
But you have already an hotkey for the toolbar which you also can change. |
I actually looked for that and didn't find it. My bad! |
The default is Win + Alt + S |
This is a really interesting application! So the goal of this issue is to search with EverythingToolbar instead of Windows/Cortana. For that I see two different options:
Option 1 would require a lot of reverse engineering and significant changes to EverythingToolbar which I don't think is worth it. |
My bad again! Sorry for the misinformation. |
I don't think there's a reason to integrate the app into the search window, but I believe it's possible to inject JS code which will launch the app instead the same way the search window executes commands (type |
Simply having WinKey place the cursor in the search box to allow typing should be enough. Seems EverythingToolbar is placed over top of the windows menu, Basically: Would probably have to find a way to have it ignore any form of win+ shortcuts. Should probably be fine to have have it check for WinKey released, and ignore WinKey released if another key is pressed. Something to that effect. Bit hackey but should work perfectly fine as a temporary measure. I'm no professional though. Obviously this would still require at the very least the toolbar to be on the taskbar somewhere. Wouldn't work, at least in it's current state, unless the toolbar is expanded into a text box (so not just a magnifying glass button). Though I figure there's probably a way to have everything be ready to receive text input, but not show the search menu until said text input is received. If the windows menu and everythingtoolbar are open at the same time and a search option is selected, win menu and everythingtoolbar both close, so that's already taken care of, too. |
I created a dirty AutoHotkey script to hijack Windows start menu search and redirect it to EverythingToolbar: #NoEnv
#SingleInstance, Force
#UseHook On
SendMode Input
SetWorkingDir, %A_ScriptDir%
SetTitleMatchMode, 3
StartMenuWindowName := "Search" ; You might change this directly for non-English installations
if A_Args.Length() > 0
{
StartMenuWindowName := A_Args[1]
}
TriggerEverythingToolbar()
{
BlockInput, On
lastKey = %A_ThisHotkey%
Send, {Esc}
WinWaitNotActive, %StartMenuWindowName%
Send, #!s ; Change this if you want to use another EverythingToolbar shortcut
Sleep, 1
Send, %lastKey%
BlockInput, Off
}
Hotkey, IfWinActive, %StartMenuWindowName%
Characters := "!#$%&'()*+,-./0123456789:;<=>?@_abcdefghijklmnopqrstuvwxyz{}|\`"
Loop, Parse, Characters
{
Hotkey, %A_LoopField%, TriggerEverythingToolbar
} If your Windows installation is not in English you have to start it with the start menu window name as a launch parameter. For example for German you would start it with This simulates the default keyboard shortcut to trigger EverythingToolbar which is Win+Alt+S. If your configuration is different either change the script or the EverythingToolbar configuration It is recommended to run the script as admin because otherwise some lines of code don't work ( I am no AutoHotkey expert and really didn't do a lot of testing. This might not work on older versions of Windows (Windows 10 20H2 here). I am sure this can be done better and more reliably but I still wanted to share. |
Just tried your ahk script @stnkl, works perfectly. Good job on that. Obviously a very hacky way of doing it but it gets the job done quite well. |
Actually, rather than replace, I'd like to have both searches. Maybe in different tabs or all in the same list or something? |
I implemented the autohotkey script in EverythingToolbar. It works quite well for me but I expect it to be problematic for some people. Especially those that are not using a recent version of Windows 10 (and I won't be able to support old versions of Windows myself). Therefore I marked the feature as experimental. After enabling the option when typing into the start menu it automatically redirects the input to EverythingToolbar. You can prevent that by holding down Alt or Ctrl. Unfortunately I couldn't find a way to distinguish between the native search app or the start menu being in focus so it will circumvent search app input as well (if not holding down one of the mentioned keys when entering the first search letter). Let me know if anybody knows a way to distinguish between start menu and search app (both give focus to It will be available for testing in the beta coming later this week. |
An option to replace the search popup window when typing on the keyboard inside the start menu with EverythingToolbar would enhance the seamless integration into windows and ease using EverythingToolbar instantly by skipping the shortcut
The text was updated successfully, but these errors were encountered: