如何收听所有 Apple 活动?
我正在寻找一种方法来侦听任何程序发送到任何其他程序的所有 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
根据我对 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.