HTA/VBScript Windows Gadget stops on sleep and doesn't resume -
i have windows gadget created performs function within sub, timed (currently 10 seconds), check each 10 seconds wait , loop , perform function again, however, loop stops when pc comes out of sleep, stops dead , won't resume, how stop happening in vbscript/hta?
<script language="vbscript"> option explicit dim itimerid, refreshlist sub window_onload refreshlist itimerid = window.setinterval("refreshlist", 10000, "vbscript") end sub </script> sub refreshlist {do something} end sub