How do I get the number of min's of when the mouse cursor doesn't move?
Printable View
How do I get the number of min's of when the mouse cursor doesn't move?
Use a loop or a timer, and store the X and Y coordinates on the screen using the GetCursorPos API, and Time into variables. Then, as this keeps repeating, when the coordinates change, meaning the mouse has moved, get the time, and find the difference between the two using the DateDiff function. If you need anyhelp, feel free to reply!