Windows 10 HDR toggle shortcut?!


  1. Posts : 25
    10 Pro
       #1

    Windows 10 HDR toggle shortcut?!


    Hi all,


    I'm running Win 10 Pro 1909 and am looking for a much quicker way to toggle HDR on/off. I use HDR when watching content via media player classic but need to disable it afterwards each time as it renders the operating system far too bright and is straining on the eyes. This is annoyingly tedious as you need to navigate through settings, display, HD colour options etc. before finally getting to the toggle switch in question. Can a single click batch file/registry tweak perhaps be constructed in this case? Allowing you to enable/disable the setting in an instant?

    How to toggle HDR with a script on Windows 10

    This article details creating a script which does exactly what I've described but it apparently doesn't work with multiple display setups (which is what I'm running unfortunately!)

    Hoping a tenforums guru can assist!
      My Computer


  2. Posts : 4,453
    Win 11 Pro 22000.708
       #2

    This isn't an answer to your question, but do you have proper color profiles installed for your monitor in the Color Management control panel?

    I use HDR most of the time, and it's not brighter than SDR. I'd never turn it off, except some apps (like the old Snipping Tool) don't support HDR.
      My Computers


  3. Posts : 4
    Windows 10 Pro
       #3

    Tweak as you need. Adding or removing the TAB commands should do it. Paste into a text file and save with .vbs extension.

    Code:
    Set oShell = CreateObject("WScript.Shell")
    
    'close settings window to start fresh
    oShell.Run("""ms-settings:display""")
    WScript.Sleep 1000
    oShell.SendKeys "%{F4}"
    
    'open settings, set to correct page
    oShell.Run("""ms-settings:display""")
    WScript.Sleep 1000
    oShell.AppActivate "settings"
    WScript.Sleep 1000
    
    'select "windows hd color settings"
    oShell.SendKeys "{TAB}"
    WScript.Sleep 50
    oShell.SendKeys " "
    
    WScript.Sleep 1000
    
    'select "choose display" drop down and move to the top and select primary display
    oShell.SendKeys "{TAB}"
    WScript.Sleep 50
    oShell.SendKeys "{TAB}"
    WScript.Sleep 50
    oShell.SendKeys " "
    WScript.Sleep 50
    oShell.SendKeys "{UP}"
    WScript.Sleep 50
    oShell.SendKeys "{UP}"
    WScript.Sleep 50
    oShell.SendKeys "{UP}"
    WScript.Sleep 50
    oShell.SendKeys "{UP}"
    WScript.Sleep 50
    oShell.SendKeys " "
    
    WScript.Sleep 1000
    
    'select "use hdr" toggle
    oShell.SendKeys "{TAB}"
    WScript.Sleep 50
    oShell.SendKeys " "
    
    WScript.Sleep 4000
    
    'done
    oShell.SendKeys "%{F4}"
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 08:04.
Find Us




Windows 10 Forums