Code: Select all
qWin = WinExists("A")
I hope a future version can do away with unquoted strings.
Code: Select all
qWin = WinExists("A")
Code: Select all
qWin := WinExists("A")
Code: Select all
:=
In case it makes you feel better, this is one of the biggest pain points for those learning AHK and remains one of most frustrating aspects/quirks of the language. I don’t think anyone would purposely set up this dual syntax approach when designing a language. It was the result of adding powerful new functionality (expressions) without breaking backward compatibility. AHK v2 suggested by gregster is the first official attempt at revising the language without holding to the backward compatibility requirement.
Well said I have felt the same way.