targeter Posted August 22, 2010 Share 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 Link to comment Share on other sites More sharing options...
targeter Posted August 22, 2010 Author Share Posted August 22, 2010 Hmmm... I think I have an idea... Link to comment Share on other sites More sharing options...
targeter Posted August 22, 2010 Author Share Posted August 22, 2010 I figured it out. The solution is the period value of the setwaittime function. Simple edit Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now