I've found extremely useful "KeyHistory" window of AutoHotkey. I'd like to keep it mimized upon pressing of Esc key. By default (by design?) it is minimized to system tray intead of taskbar. What I'd like to get is to minimize this window to taskbar:
Code: Select all
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
#SingleInstance, force ; Only one instance of this script may run at a time!
#Warn ; Enables every type of warning and shows each warning in a message box.
#Persistent ; Keeps a script permanently running (that is, until the user closes it or ExitApp is encountered).
#InstallKeybdHook ; Forces the unconditional installation of the keyboard hook.
#InstallMouseHook ; Forces the unconditional installation of the mouse hook.
#KeyHistory, 500 ; For debugging purposes. 500 is maximum allowed value
KeyHistory
WinMaximize, A
Esc::
WinMinimize, A
return
Is there any simple workaround?
Kind regards, mslonik