|Yes, vbscript can do appactivate and sendkeys, something like this:|
set W = WScript.CreateObject("WScript.Shell")
on error resume next
do while x=1
if z=-1 then
see or google "script.chm" for vbscript details. I'm not proficient in it... Make sure
the window's title is "oh no", that's the key
for appactivate to work. This script should loop until such window-title appears, then clear it and exit.