I think the only way you could manage this is to trap the barcode delimiter characters. For instance, for a 3 of 9 barcode to be valid it has to start and end with an asterisk. So, I suppose you could always check the first (and last?) character of what was entered, and process based on that.

That's just a guess. The whole point of a barcode scanner is to *not* have to do anything different, so I don't know if what you want to do is even possible.

On Jun 5, 2006, at 20:49, Eric M.Williams wrote:

Hello list -

Is there a way to tell which keyboard originated a keystroke?

I'm looking at a project that will interface with a barcode scanner. I want the user to be able to pick up the scanner - no matter what they're doing - and have the barcode scanner's output be processed differently than the normal keyboard.

Thanks for any tips!

--
David Glass - Gray Matter Computing
graymattercomputing.com - corepos.com
559-303-4915

Apple Certified Help Desk Specialist

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to