Open
Description
Love the app! It’s super handy. Would it be possible to add command-line support, like:
nyrna.exe Suspend "app.exe"
nyrna.exe Unsuspend "app.exe"
This would be perfect for my ahk script, which suspends Brave when Left 4 Dead 2 is active and resumes it afterward:
global braveState := "" ; Tracks Brave’s state
SetTimer, CheckBraveWindow, 200
return
CheckBraveWindow:
if (!WinExist("ahk_exe brave.exe")) { return }
if (WinActive("ahk_exe left4dead2.exe")) {
if (braveState != "suspended") {
Run, %comspec% /c nyrna.exe Suspend "brave.exe"
braveState := "suspended"
}
} else {
if (braveState != "resumed") {
Run, %comspec% /c nyrna.exe Unsuspend "brave.exe"
braveState := "resumed"
}
}
return