• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Processing mouse and key events from a background app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Processing mouse and key events from a background app


  • Subject: Re: Processing mouse and key events from a background app
  • From: glenn andreas <email@hidden>
  • Date: Tue, 29 Nov 2005 15:09:18 -0600


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. Unfortunately, in a previous system release (don't remember exactly when this was fixed), once anything turned on secure mode, there were cases where it would never get turned off (so once anything asked for a password, nobody else would ever see key events again).


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.



Glenn Andreas                      email@hidden
 <http://www.gandreas.com/> wicked fun!
Widgetarium | the quickest path to widgets

_______________________________________________
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


  • Follow-Ups:
    • Re: Processing mouse and key events from a background app
      • From: David Niemeijer <email@hidden>
    • Re: Processing mouse and key events from a background app
      • From: Cybereer <email@hidden>
References: 
 >Processing mouse and key events from a background app (From: Cybereer <email@hidden>)
 >Re: Processing mouse and key events from a background app (From: David Niemeijer <email@hidden>)

  • Prev by Date: Re: 2-Level Namespace
  • Next by Date: Re: Extension of CoreData to third party databases.
  • Previous by thread: Re: Processing mouse and key events from a background app
  • Next by thread: Re: Processing mouse and key events from a background app
  • Index(es):
    • Date
    • Thread