It is sometimes useful to monitor AppleEvents that certain applications are sending or receiving. You can monitor this in the Console for a certain application by opening a terminal window and typing:
% setenv AEDebug 1 % setenv AEDebugSend 1 % setenv AEDebugReceives 1Then you need to open the application from the same terminal, using this command:
% open /Applications/Example/AppName.app &The & launches the program in the background; for a GUI application this makes no difference to use, but it allows you to close the terminal window. Next, you should open the Console (in /Applications -> Utilities), where you can see any AppleEvents being sent or received by that application.
Mac OS X Hints
http://hints.macworld.com/article.php?story=20030430145833233