Jump to content
LaunchBox Community Forums

Recommended Posts

Posted

I have an expensive new OLED screen. Obviously I don't want to risk any burn-in. So I have enabled a strict screen timeout in Windows after 5 minutes. The problem is, that I want to enjoy BigBox's screensaver as well but because of the screen timeout Windows cuts BigBox's screensaver short. That's why I've written a PowerShell script (with the help of ChaptGPT) which runs in the background as a service and looks for the BigBox process. If it detects it, it disables the Windows screen timeout and if it doesn't detect it any more it resets it to 5 minutes. Because I guess that I am not the only one with this issue I've decided to share my script. Here is how you install it:

  1. Download and place the ps1-script at the path of your choosing. I've placed mine in LaunchBox's root directory.
  2. Open the Windows Task Scheduler with Win+R and by entering taskschd.msc
  3. Select create task on the right hand side of the window. 
  4. In the General tab enter a name for the new task and set the settings as seen in the attached picture.
  5. In the Triggers tab  you have to add a new trigger to make the task run at Logon.
  6. In the Actions tab add a new action and select run program from the drop-down menu. For the program you enter powershell.exe with the following arguments: -WindowStyle Hidden -NoProfile -ExecutionPolicy Bypass -File "C:\PATH-TO-YOUR-SCRIPT\bigbox-screentimeout-manager.ps1"
  7. Set the options of the tabs Conditions and Settings as seen in the attached pictures or however you like.
  8. Close the dialogue window by clicking OK.

Now it should be working as expected.

Have fun!

Actions.png

General Settings.png

Triggers.png

settings.png

conditions.png

bigbox-screentimeout-manager.ps1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...