Jump to content

Recommended Posts

Posted

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

Posted (edited)

  Kudzu309 said:

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.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...