CDF for Bar Code Scanner

Hello,

I was thinking of making a very small CDF to save the data from a USB bar code scanner. Basically, it will record the time in, and a time out of a unit being passed through a station. Since the bar code scanner works as a keyboard - it will record the translated label wherever the cursor may be.

Is there a way to control the specific USB device that contains the scanner with Mathematica, and record the input regardless where the cursor is at, or whether the CDF (stand-alone or website) is minimized or maximized?

Thank you in advance.