Diferent hotkeys for diferent windows

General discussion related to "Everything".
jpsala
Posts: 2
Joined: Thu Jun 19, 2014 1:27 pm

Diferent hotkeys for diferent windows

Hi, is there a way to have diferent hotkeys to open diferent windows, say for example: win-f brings a window and search everything, and win-e brings another window and search for executables, etc, did I explain my self, english is not my languaje.

Thanks for this app, love it!

yoyomaah
Posts: 29
Joined: Wed Sep 16, 2009 1:04 am

Re: Diferent hotkeys for diferent windows

It would be great if this was supported natively by Everything!

I had the same though a couple of months ago and solved it using Autohotkey, using the following script that simply executes Windows Shortcuts:

Code: Select all

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.

#v::
Run, C:\path\to\shortcuts\EverythingVideo.lnk
return

#x::
Run, C:\path\to\shortcuts\EverythingExe.lnk
return

The shortcuts then use Everything's command-line interface (See Help > Command-line options):

Code: Select all

C:\path\to\Everything.exe -matchpath -filter Video -sort "Name"

Now you just need to define filters like Video or Executable in Everything (See Search > Organize Filters).

You may need to start the Script with administrator-privileges, though.