ToggleWindows10DefaultAppMode()

Post your working scripts, libraries and tools
User avatar
fischgeek
Posts: 432
Joined: 29 Jan 2014, 21:39

ToggleWindows10DefaultAppMode()

12 Mar 2019, 10:19

Not sure if anyone has asked for this yet, or wanted it. But, I did, so thought I would share its surprising success.

Code: Select all

ToggleWindows10DefaultAppMode() {
	RegRead, appMode, HKCU, Software\Microsoft\Windows\CurrentVersion\Themes\Personalize, AppsUseLightTheme
	RegWrite, REG_DWORD, HKCU, Software\Microsoft\Windows\CurrentVersion\Themes\Personalize, AppsUseLightTheme, % !appMode
}
Note: you may need to add the Personalize key and the DWORD AppsUseLightTheme if you do not have them already.
User avatar
Cerberus
Posts: 169
Joined: 12 Jan 2016, 15:46

Re: ToggleWindows10DefaultAppMode()

17 Mar 2019, 21:30

Looks interesting; what does this do, exactly, in laymen's terms? I am frequently annoyed by the way Windows 10 handles choosing what programme to open which files with, so I would be interested in any options in this regard.
User avatar
fischgeek
Posts: 432
Joined: 29 Jan 2014, 21:39

Re: ToggleWindows10DefaultAppMode()

17 Mar 2019, 21:36

This switches between the dark theme and light theme. MS calls it the default app mode for some reason; not to be confused with deafult programs.

Return to “Scripts and Functions”

Who is online

Users browsing this forum: AshleyM0101, Frasier, gwarble and 19 guests