I am not sure this is possible, but I want to somehow write to stdio or some such and make a perl script that will press enter on a timer. This is for a windows application that I have to mindlessly babysit. (and that I can't launch as a child process) This is what I am using currently to tell me when to hit enter....
while (true) { print"\n$t" $t=$t-1 sleep(1); if($t<0) { print "press enter NOW"; #TODo - hit enter automagically $t = $timerlength; #reset } }
In reply to using perl to "press enter" by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |