I had a problem similar to this before, and this is how I handled this First I set a hotkey HotKeySet("{F9}", "BarcodeScannerInput") Then I configured the barcode scanner to TYPE OUT (like a keyboard) F9, a 20ms pause, the scanned code, and then ENTER. I captured the code like this: Func BarcodeScannerInput() ; Only accept input if my program is active. This is optional if WinGetHandle("[active]") = $GUI Then ConsoleWrite("Scanner triggered"&@CRLF)&