For the next version ( now in public beta ) you'll need to change this:
; #CONSTANTS# ===================================================================================================================
If Not IsDeclared("DWMWA_USE_IMMERSIVE_DARK_MODE") Then Global Const $DWMWA_USE_IMMERSIVE_DARK_MODE = (@OSBuild <= 18985) ? 19 : 20 ; before this build set to 19, otherwise set to 20, no thanks Windaube to document anything ??
; ===============================================================================================================================
Thanks for the cmd tip, rudi.. ended up just adding cmd /c start to the beginning of the shortcut target to have it launch from a briefly appearing cmd window, and it's working great:
cmd /c start "C:\Program Files (x86)\AutoIt3\AutoIt3_x64.exe" C:\Path\To\Script.au3
Good to know about the registry option too, subz. Might use that.
Technically, it can be launched separately without geckodriver, but the correct parameters need to be utilized so that it behaves the same as when launched via the webdriver. I don't remember the exact parameters, but I used to do this so I know it is possible. I think a search of the forum (and maybe the wiki) would provide the information.
1.8.6 released!
Only one change, the help box that appears when writing function parameters should not dissapear, when adding "," anymore.
It took me a while and the solution is not perfect, but it should be better than the previous experience
Yes, for sure. I am not at my PC right now but will share later.
Although the code isn’t too special. I just used SetSysColors to change colors followed by restoring the original system colors when the script exits.
This affects all apps though which is not what I originally wanted. I was hoping to target each app individually at execution time. But I was not successful with any of my attempts.
SetSysColors is system-wide but only affects the current session so it is not permanent.