Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting keyboard events first



On Jun 2, 2004, at 9:07 PM, Christopher O'Neill wrote:

> Hi all. I was wondering if there is a way to receive a keyboard event
> before any other application, including the one at the front. I have
> searched on google and in Apple's documentation, and I cannot find a
> way to do that. Is it possible to do that in Cocoa or do I have to
> use assembly? Any help is appreciated.
> Chris
>
> P.S. I am assuming that after I am done with the event, I can pass it
> to the frontmost program by calling "processKeyboardEvent:" (I may
> have that name wrong).

No offence but I don't want to install your application on my computer
if it tries to do that.

And what if another application on the computer along with yours is
trying to do the same thing? Which one gets it "first"?

I have no idea if this is possible, but if it was easy, there'd be
keystroke logging software rampant on Mac OS X, which would suck. I
hope it is not possible short of a kext.


--
Brent Gulanowski email@hidden

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.


References: 
 >Getting keyboard events first (From: "Christopher O'Neill" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.