From 7c15065cf367e2bba3542d520484679493e3bef6 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Tue, 18 Jul 2023 00:14:12 +0200 Subject: [PATCH] Close Tobii Ghost after installation --- scripts/Windows/Software/TobiiGhost/Ghost.ahk | 3 +++ 1 file changed, 3 insertions(+) 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)