We have a program that needs to have its contents refreshed every couple of minutes. The program does it automatically, but only if the program window is selected, which is no use if we are using other programs.
Is there a way with some batch file scripting or vb scripting even to refresh an active window in Windows XP?
Thanks for any help.
There’s the AppActivate method on the WshShellObject class.
Combine that with the
Sleepfunction and a loop and you might have what you need.Something like this might work: