What I really meant was that i have a process that will run for a couple hours which needs a key press(be it any key),for it continue after the first hour,so can i automate it by anyway such that if my process is waiting for more than 5 minutes it should deliver the key press event I have specified in a file