Tyleo-Dev-AutoIT-Oldies/MyNotePad/WindowsLCA.au3

7 lines
346 B
AutoIt
Raw Normal View History

2024-02-18 21:17:39 +00:00
$theMWTitleBarColor = Hex(RegRead("HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM", "AccentColor"))
$theMWTitleBarColor = StringRight($theMWTitleBarColor, 6)
$theMWTitleBarColor = "0x" & StringRight($theMWTitleBarColor, 2) & StringMid($theMWTitleBarColor, 3, 2) & StringLeft($theMWTitleBarColor, 2)
$CurrentAccent = $theMWTitleBarColor