On Nov 3, 2009, at 6:10 PM, Symadept wrote: > Hi, > > Anybody tell me can I program a hot key which shall not block the other apps > responding to it. > > Lets say I have registered hot key Command+P for some operation for my app, > it shall not block the other apps responding to it.
You should probably use the CGEventTap API to implement this. In SnowLeopard, you could also use +[NSEvent addGlobalMonitorForEventsMatchingMask]. In either case, however, I believe you'll need the user to enable access for assistive devices in the Universal Access preference pane. -eric _______________________________________________ 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