ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Coding Snacks

Global Hotkey Management

<< < (2/4) > >>

tranglos:
Would it be possible as a programmer to "try a given hotkey" and see which programs/ processes "respond" to it? Something like FileMon but more like KeyMon?
-SleepingWolf (January 01, 2009, 05:05 PM)
--- End quote ---

I don't think this is possible. When a program tries to register a hotkey, Windows may return an error code meaning that the hotkey is already in use. But AFAIK there is no API function to check which process has registered any given hotkey.

SleepingWolf:
What I mean is that when a key is pressed a processes memory usage might shoot up or a window open... maybe these could be watched by supremely talented programs...

f0dder:
What I mean is that when a key is pressed a processes memory usage might shoot up or a window open... maybe these could be watched by supremely talented programs...
-SleepingWolf (January 06, 2009, 01:56 PM)
--- End quote ---
Those heuristics would be too uncertain to go by...

SleepingWolf:
What I mean is that when a key is pressed a processes memory usage might shoot up or a window open... maybe these could be watched by supremely talented programs...
-SleepingWolf (January 06, 2009, 01:56 PM)
--- End quote ---
Those heuristics would be too uncertain to go by...
-f0dder (January 06, 2009, 02:04 PM)
--- End quote ---

I know, but if you have to know the answer you might be tempted to try watching a process viewer like prcview or process-tamer (I haven't tried this one) and GUESS an answer. So the computer could make a more educated guess (I'm guessing).

SleepingWolf:
MerleOne has gone quiet on this one. Have you found a solution? :-\

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version