Jump to content
Sign in to follow this  
Kudzu309

Reading the system idle time?

Recommended Posts

Kudzu309

Is there some sort of function that can read how long the system has been idle? I don't have an immediate application, but I think it would come in handy if you wanted to run a script only when the PC is idle after X amount of time.

I know that there isn't anything built into AutoIt, but I thought maybe someone would know of some type of OS call or something.

Thanks,

Steve

Share this post


Link to post
Share on other sites
EndFunc

Is there some sort of function that can read how long the system has been idle? I don't have an immediate application, but I think it would come in handy if you wanted to run a script only when the PC is idle after X amount of time.

I know that there isn't anything built into AutoIt, but I thought maybe someone would know of some type of OS call or something.

Thanks,

Steve

Try this. It might be helpful. http://www.autoitscript.com/forum/index.ph...st&id=12096

Edit:

This is the actual example. http://www.autoitscript.com/forum/index.php?showtopic=29404

Edited by EndFunc

EndFuncAutoIt is the shiznit. I love it.

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  

×