See this post for reference: viewtopic.php?t=40155
However, I wanted to share this Autohotkey script which changes the system between dark mode / light mode (take that Lenovo! (no point in adding a dedicated dark mode key to your keyboard... you could have at least added it as a keyboard combination for Fn+End and added an Home PgUp PgDown End row instead – anyway i digress...
If you set the user interface appearance to use system colors (dark/light mode) the system as well as PDF-xchange editor itself switches to and from "dark mode" within 10 seconds, using a keyboard shortcut of your choice Here's the script:
(#+L::toggleDarkMode() means the keyboard shortcut is Win+shift+L , so you can change this)
You might have to have the script as a separate script from other ones, as they might interfere with each other if you paste it in with too many others
Code: Select all
;reference https://www.reddit.com/r/AutoHotkey/comments/p279f5/dark_modelight_mode_toggle_for_windows_10/
#+L::toggleDarkMode()
toggleDarkMode()
{
static key := "", mode
if !key
RegRead mode, % key := "HKCU\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize", SystemUsesLightTheme
mode ^= 1
RegWrite REG_DWORD, % key, AppsUseLightTheme , % mode
RegWrite REG_DWORD, % key, SystemUsesLightTheme, % mode
}