The below, always assigns 111 to ThisWindow, I would like it to NOT in this case, cant the operator ~= not be inverted, like so !~= or even ~!=?
Code: Select all
ThisWindow := "Ahk_ID 0x12345"
ThisWindow := ThisWindow ~!= "Ahk_ID 0x" || ThisWindow != "A" ? "111" : "000"
OutputDebug, %ThisWindow%