Jump to content

Recommended Posts

Posted (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 by targeter

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...