如何收听所有 Apple 活动?

发布于 2024-09-27 20:50:14 字数 381 浏览 1 评论 0原文

我正在寻找一种方法来侦听任何程序发送到任何其他程序的所有 Apple 事件。曾经有一个应用程序 AEMonitor 可以执行此操作,但目前它已被废弃。

有没有已知的方法可以通过可可、碳等来做到这一点?

非常感谢任何帮助。

--

目标操作系统是 10.6

--

Carification: 我希望监视所有苹果事件,或者至少监视其中的大部分事件。我知道可以启动应用程序并收听其 AE 类似这个

I'm looking for a way to listen in to all Apple Events send by any program to any other program. There was an app, AEMonitor, that used to do this but it is abandonware as of now.

Is there a known way to do this via cocoa, carbon, etc?

Any help MUCH appreciated.

--

Target OS is 10.6

--

Carification: I'm looking to monitor ALL apple events or at very least a lion share of them. I am aware that it is possible to launch an app and listen to its AEs like this.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

可爱暴击 2024-10-04 20:50:14

根据我对 AEMonitor 的记忆(我偶尔会怀念),它需要重新启动目标应用程序。我敢打赌,它正在设置 macosxhints.com 文章中链接的环境变量。

From what I recall of AEMonitor (which I occasionally miss), it required the relaunch of the target application. I'd bet that it was setting the environment variables that are linked to in the macosxhints.com article.

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