• 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: Capturing keyboard input, including hotkeys
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Capturing keyboard input, including hotkeys


  • Subject: Re: Capturing keyboard input, including hotkeys
  • From: Andrew Farmer <email@hidden>
  • Date: Sun, 17 Sep 2006 00:19:00 -0700

On 16 Sep 06, at 18:41, Ryan Britton wrote:
On Sep 16, 2006, at 6:00 PM, Andrew Farmer wrote:
Is there any way to create an application that fully "grabs" the keyboard like X11 apps can, including combinations that are assigned to hotkeys? I'm trying to create a VNC-like application, and don't know how I'd go about doing something like this. Is it even possible?

You might try looking at this. It's been a while since I have, but I seem to remember it doing something along these lines.


http://rogueamoeba.com/sources/HotKeysLib3.zip

Nope - that one just directs hotkey presses that it already controls to the panel. Hitting cmd-tab just switches applications like usual.


A quick web search reveals that SetSystemUIMode will let you disable cmd-tab, but the event still gets eaten somewhere. Moreover, that still doesn't handle hotkeys registered by other applications. Any hints?
_______________________________________________
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
References: 
 >Capturing keyboard input, including hotkeys (From: Andrew Farmer <email@hidden>)
 >Re: Capturing keyboard input, including hotkeys (From: Ryan Britton <email@hidden>)

  • Prev by Date: Re: Drawing 32-bit images into an NSBitmapImageRep
  • Next by Date: Re: Stealing keystrokes
  • Previous by thread: Re: Capturing keyboard input, including hotkeys
  • Next by thread: Re: Cocoa-dev Digest, Vol 3, Issue 1136
  • Index(es):
    • Date
    • Thread