If I acquire a USB QR/barcode scanner, can I set it to automatically launch a browser upon reading a URL

barcode-scannerperipheralsqr-code

I'm considering purchasing a scanner such as the Esky™ Automatic USB (Bi-directional) Barcode Scanner.

I've produced some QR codes (containing valid http URLs) which I'd like students at my school to scan.

I'd like to use the machine as a terminal – students scan the URL and then are unable to do anything else (no keyboard or mouse, for instance).

As such, is it possible to set this barcode scanner (or any others) to automatically open my browser if the QR Code being scanned has a URL format?

In addition, would it then be possible to have non-URL QR content to be entered into the browser's active form field? I.e. if the QR code said 12345, it would just enter it into the active text box on the current webpage (if a webpage was open already)?

Best Answer

Don't buy that particular scanner-- it doesn't support 2D barcodes.

Does the computer you plan to use for this have a webcam? Because that might be a totally acceptable scanner for this purpose. Then you could use software such as http://blog.odoa.eu/post/QR-Code-Scanner-for-Desktop-and-Laptop.aspx to do what you want. (I tested this. It's clearly a weekend project, but contrary to what the blog post says, it does work for me in Windows 7).

Here's another one, which I haven't tested, which looks like it might do exactly what you want (using a webcam): http://www.funcode-tech.com/Download_en.html

One concern I have is how to bring the QR application back to the foreground after viewing the web page if you don't have a keyboard or mouse. If it was me, I'd probably tinker with AutoHotKey as a way of doing this, but there are probably other ways to go.

If a webcam isn't an option, then you need to buy a 2D scanner (usually more expensive than a webcam!) And the issue of how to get to the web page becomes a little bit more complicated. That said, I think it might be possible to build the whole thing in AutoHotKey if you're using a 2D scanner.

Related Question