I may be grasping for the moon here, but this is my goal. I have an MIS program for our jobs and we are looking to use a scanner to scan the job ticket and launch the program.
I don't know very much about Python or program coding. My background is web dev, but I learn fast and really, coding is coding. Different types simply have different rules/languages for going "if this then do this". I know it's more complex than that, but that's the simplified way of looking at it.
I came up with a solution here: Industrial Handheld QRCode Scanner Open URL in Browser that uses the web based version of the software, but that is not what the boss wants.
What he wants is this:
- Scan barcode
- Program auto launches (or goes to program if already open)
- Auto opens specific area
- Auto selects option from top menus
- Auto enters data picked up from the scan into empty field
- Auto hits "enter" to load specific job
- Script resets back to "ready" waiting for next scan
All from scanning the one barcode with no other user interaction.
This will be running on Windows 7 machines. It looks like EvDev might be a good place to start (http://python-evdev.readthedocs.io/en/latest/tutorial.html) but it seems to only have Linux installers.
If someone can at least point in the rough direction, I can probably figure it out. I'm just not sure on how to limit the input to only inputs from the scanner then trigger the code to run, and also, on how to tell it to do certain things within the program.
Thank you for the help!