Hi,
I've been trying to make a function that returns the system idle time (the amount of time the system is inactive - mouse movement) in a format of "X hours Y minutes Z seconds", the function is a part of a bigger script so when i use try capturing the idle time using a while loop that increases the number of seconds according to the mouse x,y the script ignores everything i do in the bigger script because of the while + sleep loop..
i've also tried to use _Date_Time_GetSystemTimes() (see syntrax in the help file and the example script) and all i get is a strange date that has nothing to do with the idle time..
can somebody help me make a function that retrieves the idle time in the specified format without using a while loop to capture the idle time or if possible, use while loop and still be able to excecute commands from the bigger script..
thnx in advance