We have some Barcode scanners that act as external keyboard input. We want these to only be enabled on certain screens to prevent accidentally scanning a barcode and entering an incorrect value on the wrong screen.
Is there a way to disable all external keyboard input that isn't on a specific screen?
I looked over the documentation and it only mentioned disabling the on-screen keyboard.
Another important note is we would still like on-screen keyboard input to work. We just want to disable external keyboard input on these screens.
With Vision, you can run arbitrary code on the end user's machine, so if you can find a way to convince the OS (however many of them you have across your Vision user base) to not allow keyboard input, then you should be able to invoke that code from Vision using scripting.
Since you are using Vision, the most robust approach is to not use keyboard mode on the scanners. Instead, configure them to emulate a serial port, then run a long-lived listening thread that can post the scans to a Vision Client Tag. You can bind such a tag into selected windows where barcode scanning is expected, and only process the property change events in those windows.