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

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -