Jump to content

System Idle


Monty
 Share

Recommended Posts

Is there any way that AutoIt can detect how long the system has been idle for, even with the aid of another software.

Planning to work on a few things and this feature (idle time) will come in very handy.

Thank you in advance.

Link to comment
Share on other sites

It might be something I'm doing wrong, but when I try to use that function, I get an error saying that it's invalid. I'm using the latest version of beta. I looked in the Timers.au3 and I don't even see it listed in there anymore.

What am I missing?

You have misunderstood what you saw in the link. The function _Timer_GetIdleTime is not in the include file Timers.au3, it was the first bock of code in the post under the words "Here's the function: "
Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
Link to comment
Share on other sites

You have misunderstood what you saw in the link. The function _Timer_GetIdleTime is not in the include file Timers.au3, it was the first bock of code in the post under the words "Here's the function: "

The function _Timer_GetIdleTime() was added to the Beta Timers.au3 UDF at version 3.2.13.3. The OP should make sure he has at least that beta version installed, and is using the beta to Run/Compile.

:P

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Link to comment
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
 Share

  • Recently Browsing   0 members

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