Le 17 nov. 08 à 08:06, Ken Tozier a écrit :

Hi

I've been working with AppleEvents and discovering their internals by setting the following in the terminal

> export AEDebugSends=1; export AEDebugReceives=1

What I'd like to be able to do is observe apple events exactly like this tool but format them into an NSDictionary so they can be used to easily build complex events. Since the above tool observes events, it must be possible, but how would I capture these events in my own tool? Is this something that needs to be a kernel extension? Or is there a higher level way to do it?


What do you mean by "this tool" ? export is used to set an environment variable. I guess that system functions that send and receive event just check if the env var is set and log appropriatly.


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to