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 


Popular posts from this blog

Php - Delimiter must not be alphanumeric or backslash -

c# - How to change the "Applies To" field under folder auditing options programatically (.NET) -

c++ - Ambiguity when using boost::assign::list_of to construct a std::vector -