aspose file tools*
The moose likes Beginning Java and the fly likes Changing screensaver settings Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Changing screensaver settings" Watch "Changing screensaver settings" New topic
Author

Changing screensaver settings

Dan Greer
Greenhorn

Joined: Jan 08, 2010
Posts: 11
Hello, my application is a sort of full screen display board. As such, I would like to be able to prevent the operating system from starting a screensaver or turning the monitor off, but without using a trick such as moving the cursor. Is there any way to do this elegantly? I would like it to work cross-platform if possible but I mostly care about Windows computers.

Any suggestions would be appreciated.
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 9990
    
    7

If your application is going to fiddle with my machine settings, I am not sure I would want to do business with you in the future
If I am not mistaken XP has an option where you can define you do not want the screen saver to run when any full screen application is running. In short let the user do his own settings.

And welcome to the Ranch


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Dan Greer
Greenhorn

Joined: Jan 08, 2010
Posts: 11
It wouldn't be fiddling with any settings, only preventing the screensaver from starting while the application is running. I am pretty sure that many applications do this, just like some prevent Windows from going into Sleep mode while they are running.
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 9990
    
    7

Found this http://docs.sun.com/app/docs/doc/819-0918/screensavers-0?a=view
You might want to take a similar approach for MS

Ok. Check this out
http://stackoverflow.com/questions/1369754/how-to-programatically-tweak-windows-screensaver-registry-settings
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Changing screensaver settings
 
Similar Threads
Any possibility of this...
JFrame usage
etch a sketch ipad
Java on the Desktop
LIKE a screensaver??????