Sign in to follow this  
Followers 0
Maelstrom

Check if computer is awake

8 posts in this topic

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.

Share this post


Link to post
Share on other sites



_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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0