# CDF for Bar Code Scanner

**URL:** <https://community.wolfram.com/t/cdf-for-bar-code-scanner/3636>\
**Category:** Questions\
**Tags:** engineering, computable-document-format\
**Created:** [October 13, 2014, 10:17pm UTC](https://community.wolfram.com/t/cdf-for-bar-code-scanner/3636 "2014-10-13T22:17:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![edbeqari](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/edbeqari/32/22274_2.png) [@edbeqari](https://community.wolfram.com/u/edbeqari)\
**Post date:** [October 13, 2014, 10:17pm UTC](https://community.wolfram.com/t/cdf-for-bar-code-scanner/3636/1 "2014-10-13T22:17:04Z")

</div>

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.
