Maelstrom Posted September 11, 2014 Posted September 11, 2014 Hey guys, Are their any built in autoit functions to check if a computer is awake or asleep? I am attempting to make an auditing program, and need help with testing if the user is not using the computer.
JohnOne Posted September 11, 2014 Posted September 11, 2014 _IsComputerAwake() Func _IsComputerAwake() Return True EndFunc AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
Maelstrom Posted September 11, 2014 Author Posted September 11, 2014 _IsComputerAwake() Func _IsComputerAwake() Return True EndFunc How does this actually tell if the computer is awake. Newer OS's run some programs even when the computer is asleep.
JohnOne Posted September 11, 2014 Posted September 11, 2014 Really! I never new sorry. Which OS'? AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
Maelstrom Posted September 11, 2014 Author Posted September 11, 2014 Really! I never new sorry. Which OS'? Windows 8(.1)/7 do it now, but only if the user doesn't lock when it enters sleep mode.
JohnOne Posted September 11, 2014 Posted September 11, 2014 I have to say that I've never heard of a computer that operates in sleep mode, amazing! I'd appreciate it if you could hook me up with a link to some documentation regarding that, I thought the HDD was switched off and the only power was going to RAM where your applications states were stored. Please link me up to something other than wake on lan. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
AdmiralAlkex Posted September 12, 2014 Posted September 12, 2014 JohnOne is right. In Sleep (S3) only RAM is powered so what you mentioned just doesn't work. So what are you really talking about as it isn't Sleep? .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface
Maelstrom Posted September 13, 2014 Author Posted September 13, 2014 JohnOne is right. In Sleep (S3) only RAM is powered so what you mentioned just doesn't work. So what are you really talking about as it isn't Sleep? I guess I mean more or less if the screensaver is on or off.
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