|
-
July 11th, 2006, 02:09 AM
#1
Simulating keypress
Hi, I have a program that starts by saying "press any key to continue". I want to make a way to skip this. I tried some things already. The first thing I did was make a text file with and "a" in it and then tried:
myProgram < textFile
Didn't work.
Then, I tried
echo a | myProgram
Didn't work either. It still says press any key to continue. Any ideas?
-
July 11th, 2006, 04:29 AM
#2
Unfortunately, some program(mer)s flush the keyboard buffer immediately before prompting you to "press <some key> to continue". The reason they do this is so the process cannot be automated, forcing you to physically "press <some key> to continue".
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|