WinBatch® Technical Support Forum

All Things WinBatch => WinBatch => Topic started by: mueer01 on October 31, 2013, 04:22:53 AM

Title: LastMouseMove( )
Post by: mueer01 on October 31, 2013, 04:22:53 AM
Hello,

is it possible to get the time (or timediff) of the last mouse move?
I want to keep the program sleeping until the last mouse move is > 10 minutes:

while LastMouseMove() < 600
   TimeDelay(60)
endwhile
.
.
.
Regards,
Erhard
Title: Re: LastMouseMove( )
Post by: mueer01 on October 31, 2013, 05:11:38 AM
I solved it by
MouseInfo (3)
and comparing the returned coords.

- close -