Re: How can I not block hotkey from other apps
Re: How can I not block hotkey from other apps
- Subject: Re: How can I not block hotkey from other apps
- From: Bill Cheeseman <email@hidden>
- Date: Mon, 23 Nov 2009 11:45:39 -0500
On Nov 23, 2009, at 10:17 AM, Symadept wrote:
> I managed to get my app support for registering hotkeys and using it. But
> unfortunately if I register Cmd P as hot key in my app, no one in the system
> can use this hotkey to print unless I deregister it. How can I make it not
> block others.
I do it in my hotkey callback function by temporarily unregistering my hotkey, reposting the incoming keyboard event into the event stream, and re-registering my hotkey. It works fine.
--
Bill Cheeseman
email@hidden
_______________________________________________
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