Way to listen in on all Apple Events?
I'm looking for a way to listen in to all Apple Events send by any program to any other program. There was an ap开发者_如何学运维p, 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.
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.
精彩评论