If the game shuts down, shut down OBS too
Posted: 29 Apr 2024, 11:46
I can't make a macro that also stops OBS when a game is closed, can anyone help Please?
Let's help each other out
https://www.autohotkey.com/boards/
https://www.autohotkey.com/boards/viewtopic.php?f=94&t=129409
Code: Select all
#Requires AutoHotkey v2.0
Persistent
Timer := () => !WinExist("ahk_exe wordpad.exe")
And WinExist("ahk_exe notepad.exe")?WinClose():""
SetTimer Timer, 1000 ; every second