Skip to content

MilkyTech/HDRToggler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HDRToggler

AutoHotkey v2 script that toggles HDR in Windows 10 using HDRSwitch by cocafe

🌟 Features

  • Detects current HDR state on launch
  • Toggles HDR on/off via tray click, tray menu, or hotkey (Ctrl + Alt + H)
  • Dynamic tray icon updates based on HDR status
  • Comes with a precompiled HDRToggler.exe for users who don’t want to install AutoHotkey
  • Comes with a precompiled HDRSwitch.exe for thos who can't or won't compile C, C++

📦 Requirements

  • Windows 10 (Windows 11 users have other options built into the OS and on GitHub)
  • HDRSwitch.exe (precompiled .exe included here for convenience)
  • HDR-capable monitor (not really required to run but you'll just be toggling hot air otherwise)

🔧 Installation

  1. Download this repo and place HDRSwitch.exe in the same folder.
  2. Run either:
    • HDRToggler.ahk (if you have AutoHotkey v2 installed)
    • HDRToggler.exe (if you don’t want AutoHotkey — it’s precompiled for convenience)
  3. Use Ctrl + Alt + H, left-click the tray icon, or use right-click tray menu to toggle HDR.
  4. Create shortcut and place in startup folder to run on windows boot.

Notes

  • This script creates a small 1KB file [hdrlog.txt] to read monitor status which is overwritten with each toggle (no bloat).
  • This script expects that Monitor 0 (based on output from "HDRSwitch.exe --list") is your HDR capable monitor. Check hdrlog.txt and modify script accordingly

🧑‍💻 Credits

  • HDR detection & control powered by HDRSwitch by @cocafe
  • Special thanks to the Windows 10 UI team… for making HDR automation simple :-P
  • Troubleshooting and polishing by chatGPT

📜 License

This project is licensed under the GNU General Public License v3.0 (GPL-3.0).
Fork it, improve it, give it weird tray icons. Just don’t resell it as a firmware update.

Support

  • If you encounter any issues or have suggestions for improvements, please open an issue. We appreciate your feedback and are always looking to improve the tool.

Enjoy and customize to your liking!

About

AutoHotkey v2 script that toggles HDR in Windows 10 with use of HDRSwitch by cocafe

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors