如何检测其他应用程序注册的热键?

发布于 2024-08-17 23:38:46 字数 181 浏览 5 评论 0原文

是否可以检测操作系统注册的所有热键以及当前运行的软件应用程序? 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

[旋木] 2024-08-24 23:38:46

这个程序设法做到这一点,但不知道如何,
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/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文