Grabbing key-downs when not front-most app
Grabbing key-downs when not front-most app
- Subject: Grabbing key-downs when not front-most app
- From: Oliver Donald <email@hidden>
- Date: Thu, 11 Dec 2003 10:17:59 -0000
Hi
I'm writing a background 'menu-extra' application that needs to respond to
keys pressed. It doesn't need to intercept keystrokes or block them, and it
doesn't need to know about modifier/function keys, it simply needs to know
when alphanumeric and punctuation keys are pressed and what they are.
Can anyone tell me a simple method to record keystrokes, or point me in the
right direction?
I am hoping there is a notification I can register for, but I can't find a
likely candidate. I have also searched on the list via Mamasam, but could
only find answers to questions about hotkeys and foreground applications.
Thanks,
Oli
PS No, it isn't a keylogger!
DISCLAIMER: The information contained in this e-mail is confidential and may
be privileged. It is intended for the addressee only. If you are not the
intended recipient, please delete this e-mail immediately. The contents of
this email must not be disclosed or copied without the sender's consent. We
cannot accept any responsibility for viruses, so please scan all
attachments. The statements and opinions expressed in this message are those
of the author and do not necessarily reflect those of the company. The
company does not take any responsibility for the views of the author.
_______________________________________________
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.