Created
August 12, 2022 15:24
-
-
Save MrChrisWeinert/e21f4b64e04772d2fff1c7b9aa51f653 to your computer and use it in GitHub Desktop.
Revisions
-
MrChrisWeinert created this gist
Aug 12, 2022 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,19 @@ 'Emergency script created for a friend to toggle HDR Set oShell = CreateObject("WScript.Shell") oShell.Run("""ms-settings:display""") WScript.Sleep 2000 oShell.AppActivate "settings" WScript.Sleep 100 oShell.SendKeys "{TAB}" WScript.Sleep 100 oShell.SendKeys "{TAB}" WScript.Sleep 100 oShell.SendKeys "{TAB}" WScript.Sleep 100 oShell.SendKeys "{TAB}" WScript.Sleep 100 oShell.SendKeys "{TAB}" WScript.Sleep 100 oShell.SendKeys "{TAB}" WScript.Sleep 100 oShell.SendKeys " "