On the opposite, with the above code from LexiKos for menus or buttons, the controls will react immediately to the Windows dark/light mode setting.Ī way to adapt a gui to the current dark/light mode is to query the registry to find the current mode: This is interesting but this will not react if the user changes from "Dark mode" to "Light mode" in Windows Colors Settings. ![]() "hardcoding") the colors of each control. The example provided by AHK_user above consists of changing (i.e. ![]() A bit useless as-is as you have to fist switch to it and then invert it, but I guess that can probably be fixed/automated, hopefully for other AHK scripts as well (I haven't really looked much into this yet). It's only updating the inverted position after releasing it (releasing mouse button and placing the window). Only AHK debugger window is a bit different. It works nicely with most other windows, following the window if moving or resizing. I just changed it to my installed variant of AHK, AutoHotkeyU64.exe as a test, and then it worked witout any warnings). Just one warning in line 4 but it still continued and worked (it didn't find "AutoHotkeyU64_UIA.exe". I tried this AHK script by malcev, which almost works great: viewtopic.php?f=6&t=94264 ![]() But no biggie in a way I suppose (still, I'd wish for something like this). Maybe themed is a bit far fetched, I can appreciate to keep it as simple as possible.īut some simple(?) inverted colors would go a long way.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |