Monty Posted October 28, 2008 Share Posted October 28, 2008 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 More sharing options...
rasim Posted October 28, 2008 Share Posted October 28, 2008 Monty_Timer_GetIdleTime Link to comment Share on other sites More sharing options...
Mercury049 Posted October 28, 2008 Share Posted October 28, 2008 Monty_Timer_GetIdleTimeIt 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? Link to comment Share on other sites More sharing options...
martin Posted October 28, 2008 Share Posted October 28, 2008 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 More sharing options...
Monty Posted October 29, 2008 Author Share Posted October 29, 2008 PERFECT!!! Thanks heeps. Works like a charm. Link to comment Share on other sites More sharing options...
PsaltyDS Posted October 29, 2008 Share Posted October 29, 2008 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. 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 More sharing options...
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