View Single Post
Old 09-18-2016, 05:53 PM   #2272
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by galneon View Post
That's an interesting solution, but I imagine a looping script sending a touch every ~4 minutes or so (if the timeout is 5 minutes--never measured myself) would cause more trouble than it's worth. :/ Oh well, thanks for the reply.
No need for a looping script, it is an event driven system.

Just use an event system call to wait for the "going to screen saver" event.
Reset the timer, test if it should continue, if so, wait again else exit.

Actual examples to be found in several places around here and in the Wiki.
knc1 is offline   Reply With Quote