Re: How to write background app that intercepts keyboard events
Re: How to write background app that intercepts keyboard events
- Subject: Re: How to write background app that intercepts keyboard events
- From: "Jean-Daniel Dupas" <email@hidden>
- Date: Tue, 25 Nov 2003 17:15:31 +0100
Hello
If your just looking for intercept hotkeys, you a can use
RegisterEventHotKey in the Carbon Manager (work very well from cocoa App).
http://developer.apple.com/documentation/Carbon/Reference/Carbon_Event_Manager_Ref/CarbonEventsRef/function_group_1.html#//apple_ref/c/func/RegisterEventHotKey
>
I'm trying to write an application that needs to run in the background,
>
intercept certain keyboard events from the user regardless of the
>
currently active application, does some processing of the keyboard
>
event, and spits back an output to the current application as if it
>
came straight from the user. Any hints on this would be greatly
>
appreciated.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.