How to close a script when opening a program?

Ask gaming related questions (AHK v1.1 and older)
Hitaku
Posts: 17
Joined: 14 Mar 2017, 00:57

How to close a script when opening a program?

17 Dec 2017, 22:42

I've recently started playing Black Desert Online and it's anti-cheat program closes the game when Autohotkey is active. I was wondering if it was possible to close an AHK script when the game is launched so that I don't need to do it manually?

I tried the following script, but it doesn't seem to work.

Code: Select all

IfWinActive, Black Desert Online Launcher
ExitApp
Return

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 80 guests