I found this batch file and it gets me close Is it possible to change display scaling via command line?_ . I'd like 1 batch file that gets me to 150% without any more clicking than a batch file called 150.bat and 1 batch file called 100.bat that gets me to 100% without any more input. Is it possible?
I could call this 100.bat
@ECHO OFF
explorer ms-settings:display
ping -n 2 127.0.0.1 > nul
:VBSDynamicBuild
SET TempVBSFile=%tmp%~tmpSendKeysTemp.vbs
IF EXIST "%TempVBSFile%" DEL /F /Q "%TempVBSFile%"
ECHO Set WshShell = WScript.CreateObject("WScript.Shell") >>"%TempVBSFile%"
ECHO Wscript.Sleep 500 >>"%TempVBSFile%"
ECHO WshShell.SendKeys "{TAB 2}{UP 1}" >>"%TempVBSFile%"
ECHO Wscript.Sleep 500 >>"%TempVBSFile%"
ECHO WshShell.SendKeys "%%{F4}" >>"%TempVBSFile%"
CSCRIPT //nologo "%TempVBSFile%"
explorer ms-settings:display
ping -n 2 127.0.0.1 > nul
CSCRIPT //nologo "%TempVBSFile%"
EXIT
And this 125.bat
@ECHO OFF
explorer ms-settings:display
ping -n 2 127.0.0.1 > nul
:VBSDynamicBuild
SET TempVBSFile=%tmp%~tmpSendKeysTemp.vbs
IF EXIST "%TempVBSFile%" DEL /F /Q "%TempVBSFile%"
ECHO Set WshShell = WScript.CreateObject("WScript.Shell") >>"%TempVBSFile%"
ECHO Wscript.Sleep 500 >>"%TempVBSFile%"
ECHO WshShell.SendKeys "{TAB 2}{DOWN 1}" >>"%TempVBSFile%"
ECHO Wscript.Sleep 500 >>"%TempVBSFile%"
ECHO WshShell.SendKeys "%%{F4}" >>"%TempVBSFile%"
CSCRIPT //nologo "%TempVBSFile%"
explorer ms-settings:display
ping -n 2 127.0.0.1 > nul
CSCRIPT //nologo "%TempVBSFile%"
EXIT
However if they click one too many times they can go too far - I'd like it if I could set a specific number instead of moving up and down.