如何检测其他应用程序注册的热键?
是否可以检测操作系统注册的所有热键以及当前运行的软件应用程序? Windows 平台上有任何本机或托管方法吗?我知道如果热键已经注册,RegisterHotKey 函数将返回 false,但我正在寻找一种方法、方法等,它可以为我提供已注册热键的列表。使用 RegisterHotKey 循环所有可能的组合听起来不是一个好主意。还有什么效率更高的吗?
Is it possible to detect all the hotkeys registered by the OS as well as software applications currently running? Any native or managed approach on the Windows platform? I know that the RegisterHotKey function returns false if the hotkey is already registered, but what I am looking for is an approach, method, etc. that will give me a list of registered hotkeys. Looping all possible combinations with RegisterHotKey does not sound like a good idea. Anything more efficient?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这个程序设法做到这一点,但不知道如何,
http://diamondcs.com.au/dse/detection/hotkeys.php
此类程序会扫描所有进程的句柄,从而显示所有应用程序的热键
这可能是一个耗时的过程
这是一个开源应用程序,处理所有进程的细节
http: //sourceforge.net/projects/processhacker/
This program manages to do that but dont know how,
http://diamondcs.com.au/dse/detection/hotkeys.php
The programs like these, scan the handles of all the processes,thereby revealing hot keys of all applications
This could be a time consuming process
THis is an open source application that deals with the Nitty Gritty Details of all processes
http://sourceforge.net/projects/processhacker/