Page 1 of 1

Display a list of available hotkeys per ahk_exe?

Posted: 07 Feb 2023, 17:17
by theleetbeagle
I have dozens of hotkeys written. Some for chrome, some for explorer, some for my CAD programs.

Are there any easy, or standard practice, ways to display what hotkeys are available for the active window?

For instance,

If chrome is active
display tooltip window
ctrl + shift + x does this
ctrl + shift + y does that
etc

if explorer is actice
display tooltip window
ctrl + shift + x does this
ctrl + shift + y does that
etc

Re: Display a list of available hotkeys per ahk_exe?

Posted: 09 Feb 2023, 03:18
by lmstearn
What you have there looks fine. What I'd do is run a script in the background that responds to a hotkey like ctrl+F1 or Shift+F1, or similar combos. It'll pick up the active window, and if the window title corresponds to any you use, show the app hotkey assignments in a traytip.