Screen off

Anything about GOverlay and the devices supported

Screen off

Postby skyhigh24 » Wed Apr 25, 2018 10:48 am

Hey,

Is it possible to IDLE, put the screen of or change Brightness over Shell/DOS/ VBS Command Line?

Cause I put my Monitors to sleep with the F12 Key when I go to sleep and the GOverlay illuminate the room with its Backlight :D

skyhigh24
 
Posts: 37
Joined: Wed Apr 25, 2018 9:46 am

Re: Screen off

Postby TheLaGmAn » Thu Apr 26, 2018 6:29 pm

there is no support to change the idle status of the unit but what you could do, is, create an empty profile, then, load that profile when you press f12 by command line (ex: GOverlay.exe -activateprofile3.5 "template - blue (LCD2), since the profile is blank, the unit will enter sleep mode in a minute, when you want to resume you need to somehow load your previous profile again.
User avatar
TheLaGmAn
Site Admin
 
Posts: 967
Joined: Wed Feb 26, 2014 8:32 pm

Re: Screen off

Postby skyhigh24 » Fri Apr 27, 2018 10:31 am

Nice, thank you :)

I'll wake the GOverlay and screens with F11 so it works just fine :)

skyhigh24
 
Posts: 37
Joined: Wed Apr 25, 2018 9:46 am

Re: Screen off

Postby skyhigh24 » Sun Apr 29, 2018 11:26 am

If Anyone is interested in the same Function, here is how i did it:

First of all i created 2 Batch files

GoverlaySleep.bat
cd "C:\Program Files (x86)\GOverlay_v163\"
GOverlay.exe -activateprofile3.5 "idle (LCD2)"

GoverlayWake.bat
cd "C:\Program Files (x86)\GOverlay_v163\"
GOverlay.exe -activateprofile3.5 "gaming (LCD2)"

Through to Windows System Restrictions you need to allow the Annoying UAC every time you start the Batch files.
To Bypass the UAC you need to add 2 Tasks in the Task Scheduler. I named them "Goverlaysleep" & "Goverlaywake" like the Batch Files.
Make sure to Check "Run with highest privileges". We dont need to add a Trigger. As Action we add the Batch Files.
The first step is done. If you Run the Tasks the Goverlay changes the Profile without the UAC.

2018-04-29 13_10_40-Microsoft Store.jpg

_________

The Second step is to build a "Software-Switch" to Toggle the Profiles.
Therefore i also build a Batch File:

GOv-DisplayToggle.bat
if exist "1.txt" GOTO SLEEP

schtasks /run /tn Goverlaywake
echo Goverlay Eingeschaltet>>1.txt
GOTO END

:SLEEP
schtasks /run /tn Goverlaysleep
del 1.txt

:END


This File checks, if the 1.txt exists. if not, it starts the Sleep Task and Creates the 1.txt in the Folder.
if the 1.txt exists, it jumps over to the Wake Task and deletes the 1.txt. so this could go on endlessly.

________

The last step is to bind a Key to the Batch. To do that, create a Shortcut of the "GOv-DisplayToggle.bat", put it on the Desktop, right-click it, select Properties and click on Short Cut. Now Press the key you want and apply. Close the Properties Window and Test if it works.


2018-04-29 13_01_14-.jpg

skyhigh24
 
Posts: 37
Joined: Wed Apr 25, 2018 9:46 am

Re: Screen off

Postby TheLaGmAn » Sun Apr 29, 2018 4:09 pm

thanks for sharing!
User avatar
TheLaGmAn
Site Admin
 
Posts: 967
Joined: Wed Feb 26, 2014 8:32 pm

Re: Screen off

Postby CybaGirl » Tue Oct 23, 2018 5:53 am

Yes indeed!

Thanks for sharing very much appreciated :).

CybaGirl
 
Posts: 15
Joined: Tue Sep 11, 2018 12:11 pm


Return to About GOverlay



Who is online

Users browsing this forum: No registered users and 7 guests

cron