From 11b85e36e6f37da44678f9529e5e7772e2db07fb Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Thu, 20 Jul 2023 00:53:21 +0200 Subject: [PATCH] Refactor Tobii Game Hub installation script --- scripts/Windows/Software/TobiiGameHub/GameHub.ahk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/Windows/Software/TobiiGameHub/GameHub.ahk b/scripts/Windows/Software/TobiiGameHub/GameHub.ahk index b2817cd7..0df72a3d 100644 --- a/scripts/Windows/Software/TobiiGameHub/GameHub.ahk +++ b/scripts/Windows/Software/TobiiGameHub/GameHub.ahk @@ -1,17 +1,18 @@ InstallGameHub() { - SetDefaultMouseSpeed(10) + SetDefaultMouseSpeed(100) SetTitleMatchMode("RegEx") windowTitle := "^Tobii Game Hub$" Run("setup.exe") WinWait(windowTitle, unset, 60) WinActivate(windowTitle) + Sleep(2 * 1000) MouseClick("Left", 485, 365) MouseClick("Left", 600, 455) MouseClick("Left", 533, 623) MouseClick("Left", 936, 662) - Sleep(10 * 1000) + Sleep(4 * 1000) WinActivate(windowTitle) MouseClick("Left", 1150, 60) MouseClick("Left", 518, 203)