Re: Processing mouse and key events from a background app
Re: Processing mouse and key events from a background app
- Subject: Re: Processing mouse and key events from a background app
- From: David Niemeijer <email@hidden>
- Date: Tue, 29 Nov 2005 22:26:38 +0100
At 15:09 -0600 29/11/05, glenn andreas wrote:
On Nov 29, 2005, at 2:56 PM, David Niemeijer wrote:
At 15:47 -0500 29/11/05, Cybereer wrote:
Is it (officially) possible for an app to receive all events when
running in the background?
Yes. Use the event monitor target from the carbon events. See
<http://developer.apple.com/documentation/Carbon/Reference/Carbon_Event_Manager_Ref/Carbon_Event_Manager_Ref.pdf>
That doesn't get any events when "secure mode" is enabled.
Right, and I am happy about that :-)
Furthermore, unless the user explicitly enables "allow access for
assistive devices" from Universal Access, you won't be able to get
raw key up/down/repeat events.
Correct, but as we don't know why Cybereer wants this we do not know
if this is a problem. Maybe Cybereer does not need keys or can ask
the user to turn on universal access.
david.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden