Re: Writing a more usable AppleEvent logger
Re: Writing a more usable AppleEvent logger
- Subject: Re: Writing a more usable AppleEvent logger
- From: Jean-Daniel Dupas <email@hidden>
- Date: Mon, 17 Nov 2008 09:51:04 +0100
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 (email@hidden)
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:
This email sent to email@hidden