> > Event taps receive key up and key down events if one of the following > conditions is true: The current process is running as the root user. Access > for assistive devices is enabled.
Woops, I forgot that you said you enabled access for assistive device. I just made a quick test project and everything seems to work as the docs explain: when running as root, keyboard events trigger the callback, and likewise when access for assistive devices is enabled. Here's my test project based on your code: http://themha.com/et.zip Does that project still not receive the keyboard events when running as root/with assistive device access enabled? On 10.5.8 it works as expected. What OS are you on? _______________________________________________ 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 arch...@mail-archive.com