Thanks for the reply,
I want to auto refresh with a script file ran from the task scheduler, the focus on a open program on the desktop,the program in question is a logger program and if the focus goes off the program , it will not record the next hour ?,
Another question is it possible to auto-refresh to that program , if there is other programs open on the desktop ?