DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Tool to find where a hotkey press goes?  (Read 11,142 times)

kunkel321

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 626
    • Participated in NANY Challenge Once
Tool to find where a hotkey press goes?
« on: February 03, 2022, 11:00 PM »
Ctrl+Alt+Shift+C stopped working in one of my apps.  I think it's because I probably assigned it to a different app and can't remember which..  :-\  Is there a tool that can "detect" which app is using the keypress?  I see some info about a tool called Spy++, but I think you have to have Visual Studio installed to use that.  Do you guys know of any other utilities to do this?  I'm on Win 10.

EDIT:  I figured it out...  I had an AHK thing set to that hotkey.

Insistently, I don't think it's possible to "see" where hotkeys go in Windows.  Nirsoft has an app that will tell you which hotkeys are free vs used.  It can't tell you what they are assigned to though.
https://www.nirsoft.net/utils/hot_keys_list.html
« Last Edit: February 03, 2022, 11:13 PM by kunkel321 »

skwire

  • I eat Coding Snacks for breakfast...
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,297
    • Participated in NANY Challenge Seventeen Times
    • Coding Snacks
    • Superboy Coder
    • Cody Award
    • Volunteers/Staff
    • Gathering Badge
Re: Tool to find where a hotkey press goes?
« Reply #1 on: February 03, 2022, 11:19 PM »
Insistently, I don't think it's possible to "see" where hotkeys go in Windows.  Nirsoft has an app that will tell you which hotkeys are free vs used.  It can't tell you what they are assigned to though.
https://www.nirsoft.net/utils/hot_keys_list.html

You are correct; it is not possible to see which app has which global hotkey, only that a given global hotkey is in use.


mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Tool to find where a hotkey press goes?
« Reply #2 on: February 04, 2022, 01:25 AM »
It's things like this that Microsoft should be improving with new versions of windows, making it possible to more easily troubleshoot.

x16wda

  • what am I doing in this handbasket?
  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 888
    • Participated in NANY Challenge Once
Re: Tool to find where a hotkey press goes?
« Reply #3 on: February 04, 2022, 11:50 AM »
I could swear there was a tool that was discussed here years ago with the need to do just that (the mapping)... I don't think there was complete success at that time but I remember the discussion!
vi vi vi - editor of the beast

Nod5

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,175
    • Coding Snacks
    • Participated in NANY Challenge Three Times
    • Plugin Coding Medal
Re: Tool to find where a hotkey press goes?
« Reply #4 on: February 04, 2022, 04:35 PM »
I could swear there was a tool that was discussed here years ago
This thread perhaps https://www.donationcoder.com/forum/index.php?topic=51433.msg445306#msg445306

@kunkel321 For AutoHotkey scripts that you have the .ahk source for try my suggestion from the above thread: use ripgrep to near instantly search through all .ahk source files for a hotkey string e.g. ^y::

rjbull

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 3,217
Re: Tool to find where a hotkey press goes?
« Reply #5 on: February 04, 2022, 10:51 PM »
I could swear there was a tool that was discussed here years ago with the need to do just that (the mapping)... I don't think there was complete success at that time but I remember the discussion!

There was New program: Ethervane ActiveHotkeys (freeware), but the entire thread is dated 2009.

wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 11,205
    • Participated in NANY Challenge Fourteen Times
    • Coding Snacks
    • Writer
    • Hardware Hacker
Re: Tool to find where a hotkey press goes?
« Reply #6 on: February 04, 2022, 11:07 PM »
I could swear there was a tool that was discussed here years ago with the need to do just that (the mapping)... I don't think there was complete success at that time but I remember the discussion!

There was New program: Ethervane ActiveHotkeys (freeware), but the entire thread is dated 2009.

The app is also attached to the first post, so you can take your chance with that. Last update 2012.

kunkel321

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 626
    • Participated in NANY Challenge Once
Re: Tool to find where a hotkey press goes?
« Reply #7 on: February 05, 2022, 05:43 PM »
Ethervane ActiveHotkeys does seem to work (Win 10)

kunkel321

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 626
    • Participated in NANY Challenge Once
Re: Tool to find where a hotkey press goes?
« Reply #8 on: February 06, 2022, 04:11 PM »
I wonder it anyone has tried to make an app that records when a hotkey press happens (or even invokes it), then records any new Windows processes/treads/etc that follow it immediately in time?  Then it could make a "best guess" at what the hotkey was assigned to. 

Of course Windows wouldn't like this because it would look like a virus. 

Original address: https://www.donationcoder.com/forum/index.php?topic=52146.0