I'm trying to write a program in windows so that no matter what window is active, a certain key or series of keystrokes will be output to that active window. For instance, this program is running in the background so when I have microsoft word open I could have the letter H be pushed every 10 seconds, but then I switch windows to notepad and every 10 seconds h is still being pushed. I need to be able to select a window and have the keystrokes output.
The purpose of this program is to help automate some work that needs to be done, and it's a lot easier than getting 16 of the little birds like from the simpsons to literally push the keys!
I've only programmed a chat bot in perl so my experience is a little limited, but a friend said I should try perl to see if it could do what I need. I just thought you guys know what's going on, so why not see if you had any ideas.
Just even a step in the right direction would be greately appreciated. Thanks a ton!
Alan
In reply to Keystroke output help needed! by alpal
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |