![](https://secure.gravatar.com/avatar/36569c5a574558b5214586f78eee1658.png?default=mp&rating=pg&size=250)
MaxwellMax
Joined
50 Experience
0 Lessons Completed
0 Questions Solved
Activity
Hi there, I'm just trying to automate a process. We use a command line tool which is navigated by keystrokes (no mouse).
I was hoping to create a ruby script to send the required keystrokes to that tool, and am asking for your help on how to do that basic thing.
It's easy enough to start the program; system 'programName', but after that the script is hung until you exit the program.
I suspect the answer is something like 'create a new thread and send the keys' but I'm not sure how to do that.
thanks for any help you can provide