If WinActive works not as intended on AHK v2
Posted: 28 May 2023, 06:25
I have a script that disables several hotkeys and Windows button when a game is launched. The script was created on AHK v1, but now I have AHK v2 installed and tried to convert v1 script to v2.
How it used to look like:
Where is the problem? It seems for me that it should work properly...
How it used to look like:
Spoiler
Then I converted it to v2:Spoiler
It actually works in term of disabling the hotkeys. But the problem is that these hotkeys are always disabled if the script is launched, but they have to be disabled only if a specific app is launched/active.Where is the problem? It seems for me that it should work properly...