Has anyone noticed with a keyboard scanner, that occasionally it will open multiple vision client instances? I haven’t figured out exactly when it happens, but clearly windows still has the shortcut highlighted when running the vision client and at some point, the “ENTER” coming from the scanner, causes windows to run the client again.
Any ideas how to stop this? v8.1xx
Don't use keyboard wedge mode. Set your scanner to emulate a serial port and run a background task in Vision to listen to the port. In that thread, report scans to a Vision Client tag. Bind that client tag to a custom property in the window(s) where you need to consume them, and use a property change event to push the strings to the right components. (Possibly do not need an input component at all, if only scanning.)
I knew you would post that. ![]()
I feel like the solution is Vision should keep keyboard/mouse focus, like just about every other app on the planet?
That's isn't up to the app. Windows can do what it wants. (And probably is.) Apps can request focus, but usually cannot give focus to something else, that they don't control.
Look for some other app that runs pseudo-randomly (taking focus) then exits. This can give focus back to the desktop.
I don’t see how a complete refactor of the way scanned inputs are taken over a multitude of projects spanning probably months of work is in the cards. There has to be a solution, not a work around.
I strongly believe this is not Vision's doing. Good luck.
( You should open up a support ticket. )