I know I can scan into an in-focus text field. This works fine. However, I would rather this work without the field being in focus. The operators are not going to like having to click on the field before scanning the barcode.
I am wondering if there is a way around this other than the Sepasoft barcode module. Buying a module is not an option.
Can I catch key strokes at the root container level? I did not see any events for that.
I honestly can not see any way to force the text box in focus without disabling everything on the screen until a barcode is scanned.
Not happy the Perspective has a component included but Vision does not.
Use the scanner in keyboard wedge mode, and arrange to have focus in the correct field before scanning.
Use the scanner in keyboard wedge mode, but use Sepasoft's Barcode Scanner module to intercept barcodes based on a prefix, sending the result where you like.
Use the scanner in keyboard wedge mode, but roll your own application-wide keystroke interceptor via java Swing "under the hood".
Use the scanner in USB Serial Port emulation mode, and run a long-lived thread to monitor the serial port. Typically delivering scanned values to a Vision Client tag, from which you can bind or trigger other events.