Is there a way to "force" EnvGet (or regread, or DLLCall) to read newly (so after script launch) created environment variables?
I've tried RefreshEnvironment() from https://github.com/iseahound/Environment.ahk and also the SendMessage
but to no avail, the EnvGet for my variable remains empty unless I quit/restart the script which is not an option.; SendMessage 0x1A, 0, "Environment",, ahk_id 0xFFFF ; 0x1A is WM_SETTINGCHANGE
; - The above code will broadcast a message stating there has been a change of environment variables.