• 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: How to write background app that intercepts keyboard events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: CHUD question
  • Next by Date: Cocoa Target Remains NULL
  • Previous by thread: Re: How to write background app that intercepts keyboard events
  • Next by thread: Java3D in cocoa
  • Index(es):
    • Date
    • Thread