diff --git a/scripts/Windows/Software/TobiiGhost/Ghost.ahk b/scripts/Windows/Software/TobiiGhost/Ghost.ahk index 805b29b3..886a2835 100644 --- a/scripts/Windows/Software/TobiiGhost/Ghost.ahk +++ b/scripts/Windows/Software/TobiiGhost/Ghost.ahk @@ -13,6 +13,9 @@ InstallGhost() MouseClick("Left", 563, 397) MouseClick("Left", 650, 497) Sleep(10 * 1000) + WinActivate(windowTitle) + pid := WinGetPID() + Run("pwsh -c Stop-Process -Force ".pid) } SetWorkingDir(A_InitialWorkingDir)