[Chicago-talk] distinguishing between tped input and scanned input.

Warren Smith warren at warrenandrachel.com
Tue Apr 12 14:29:21 PDT 2005


Assuming you use a keyboard wedge scanner, there is no way to tell if
the scanner was used. However, you can configure the scanner to send an
ENTER key after each barcode.


On Tue, 2005-04-12 at 14:20 -0700, Richard Reina wrote:
> I have a simple script that waits for a user to type
> in or scan in via the barcode scanner a five digit
> number.  Is there anyway to make the program
> distinguish between scanned input and typed input.  If
> the input is scanned I would like the program to not
> wait for return to be pressed.  I tried fooling around
> ReadKey but could not get the program to distingush
> between typed input and scanned input?
> 
> Does anyone know how I can achieve this?
> 
> Thanks,
> 
> Richard
> _______________________________________________
> Chicago-talk mailing list
> Chicago-talk at pm.org
> http://mail.pm.org/mailman/listinfo/chicago-talk
> 



More information about the Chicago-talk mailing list