Re: Key intercepts
Re: Key intercepts
- Subject: Re: Key intercepts
- From: John Stiles <email@hidden>
- Date: Fri, 11 Mar 2005 10:37:24 -0800
Override [NSApplication sendEvent].
However, if you get the keystrokes one at a time, you may not know
whether to propagate the keystrokes or consume them when you see one
number all by itself. I'm not sure how workable this technique will be.
You might consider alternate solutions.
On Mar 11, 2005, at 10:03 AM, Adam Hall wrote:
I need to work with one of those bar code scanners that sends numbers
for a bar code as if it is typed. I suppose Ill need to intercept key
strokes, analyze them to see if its a bar code (timing issues?!?) and
then pass it on if its not. Anyway, my question is where should I be
looking in Cocoa to grab keystrokes "first" before anything else does
in my app?
Regards,
Adam
_______________________________________________
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
_______________________________________________
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