Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: How to toggle screensaver on/off? (Read 7117 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

How to toggle screensaver on/off?

I usually use a screensaver to show the now playing info.

Some times I'd need to switch it off to show lyrics at full screen.

Is there any command (or else) I can use to enable/disable a specific screensaver?

Will I be able to use it with foo_run plugin, maybe?

Thanks.

How to toggle screensaver on/off?

Reply #1
By "screensaver" I assume you meant the Windows' screensaver?

I know of no program to disable it, but some while back I made an AutoHotkey script to prevent the screensaver from kicking in if foobar2000 is playing.

Or I can cook up a short script to automagically send a "Shift down" followed by "Shift up" event periodically to prevent Windows from detecting idleness. This script can easily be invoked (and revoked) using foo_run.

I'd rather for the script to always run in the background, and activates anti-idle when you hit ScrollLock (or any hotkey of your choice), and deactivates anti-idle when you hit the same hotkey (or a different one, your choice).


How to toggle screensaver on/off?

Reply #3
I usually use a screensaver to show the now playing info.

Some times I'd need to switch it off to show lyrics at full screen.

Is there any command (or else) I can use to enable/disable a specific screensaver?

Will I be able to use it with foo_run plugin, maybe?

Thanks.


Here's what you need:
http://www.nirsoft.net/utils/nircmd.html

Description
NirCmd is a small command-line utility that allows you to do some useful tasks without displaying any user interface. By running NirCmd with simple command-line option, you can write and delete values and keys in the Registry, write values into INI file, dial to your internet account or connect to a VPN network, restart windows or shut down the computer, create shortcut to a file, change the created/modified date of a file, change your display settings, turn off your monitor, open the door of your CD-ROM drive, and more...

Including:
Start the default screen saver
Disable the screen saver
Enable the screen saver
+ dozens of other functions

Have phun! 

How to toggle screensaver on/off?

Reply #4
Here's what you need:
http://www.nirsoft.net/utils/nircmd.html
Kewl  but isn't it rather dangerous to actually muck around with registry that way?

But if you're adventurous enough, go ahead.

There is one situation where NirCmd can't work, that is if the net admin has enforced a screensaver using policies. In that case, editing registry is disabled, and you have to resort to an anti-idle script.

Annnnd echoing Cornie... have phun!