targeter 0 Posted August 22, 2010 (edited) I am working with the example script here http://www.autoitscript.com/forum/index.php?showtopic=21575 However, I noticed that if you make more than one call to the SetWakeUpTime function, it gets kind of screwy. The first call will correctly setup the wake time. And then the script will proceed to go to hibernate/standby. However, the second time you use the function it no longer sets the wake time correctly, even if you are explicitly writing "@min+5" The wake time is reduced it seems to one minute regardless. Does anyone know why this is? Is there some sort of residual time value that is being held? I doesn't seem like based on his script. ;other script code...... local $mode = false local $force=false SetWakeUpTime(@HOUR,@min+5) SetSuspend($mode, $force); go to standby mode ;script code in between... SetWakeUpTime(@HOUR,@min+5) SetSuspend($mode, $force); go to standby mode Edited August 22, 2010 by targeter Share this post Link to post Share on other sites
targeter 0 Posted August 22, 2010 Hmmm... I think I have an idea... Share this post Link to post Share on other sites
targeter 0 Posted August 22, 2010 I figured it out. The solution is the period value of the setwaittime function. Simple edit Share this post Link to post Share on other sites