How to prevent screensaver from starting

Discuss Control Systems here
Post Reply
jjanson
Posts: 10
Joined: Wed Apr 11, 2012 12:05 pm

How to prevent screensaver from starting

Post by jjanson »

Hello,
we use an standalone program made with flowstone to read out some data via network and display it on screen without further interaction.
But how to prevent the screensaver from starting when you have no rights to turn it off on the (company) pc itself?

So we thought maybe some automatic mouse interaction so the pc "thinks" someone is busy, but this seems not possible with the mouse modules as they only read out an mouseclick or position.

Or maybe a Ruby solution (can't find anything with google on this)
Any help is being appreciated a lot.

Thanks!
User avatar
jjs
Posts: 142
Joined: Thu Jun 09, 2011 12:15 pm

Re: How to prevent screensaver from starting

Post by jjs »

use mousejiggler and call it via the exe module
you can make a blabla.bat file which is called from your FS app
then in that bat file you call mousejiggler and use the -j -m commands so it starts directly and minimized.
mousejiggler lets the pc believe the mouse is being moved without actually moving the mousepointer
Post Reply