• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 338
  • Last Modified:

USB Scanner to pop up application

Hi Guys, I've got an Access database installed on a laptop that uses a usb barcode scanner for locating member records off a membership card. The laptop often has several programmes running at the same time, whenever a barcode is scanned I'd like windows to automatically move the focus to the membership window and then display the member record. At the moment I have to manually select the Access window before scanning the card. Is there a windows setting that can make this happen?

Thanks in advance.
0
dataflowjoe
Asked:
dataflowjoe
1 Solution
 
sshah254Commented:
There is nothing in Windows that will do this by default.

The scanner essentially acts like a keyboard.

What you can do is use a program (like AutoHotKey, or any other macro program) and keep it running in the background.  The program would be set to activate on some keys like "Alt-Ctrl-M".  Whenever this keystroke is entered, the program would activate.  All that the program would do is make Access the active program and then go back to sleep.

You will need to modify the barcode so that it sends this "Alt-Ctrl-M" before the actual barcode.

You may also need some sort of delay between the "Alt-Ctrl-M" and the actual code that identifies the member, since it will take at least a few milliseconds to switch to Access.

Ss
0
 
tncodeCommented:
0
 
dataflowjoeAuthor Commented:
Thanks, that helped
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now