I want to open a window when a barcode scanner scans something. The scanner operates like a keyboard so I get a string of information.
I want to add a listener that can intercept keyboard input and open the window if it matches the barcode format. I am thinking I need to add like a hidden TextField in my view and then handle it from there. Any suggestions?
k
Kirill Grouchnikov
05/16/2022, 8:31 PM
That sounds like a keylogger. So you want your app to be constantly running in the background, and getting access to all keyboard events so that it can process them and open a window when it detects a match? I very much hope that OS providers don't allow this to happen.
l
Lawrence
05/16/2022, 8:40 PM
haha nothing like that. basically whenever the app is in focus and the user scans a QR code I want the app to handle the input and open a dialog