Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Timer to Prevent Screensaver

$
0
0
I'm looking for a function that stands alone (not in a loop, etc.) and when a preset time elapses it moves the mouse to prevent the screensaver from coming on.

I don't think I can get TimerInit and TimerDiff to work but I am trying.

Basically I'm looking for something like this:
Start a Timer
When Timer elapsed time = 300 seconds call TimerElapsed() ;after 5 minutes call the function and repeat if necessary.
;
; Lots of code independent of Timer
.
.
.
Func TimerElapsed
MouseMove (X.Y)
EndFunction

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>