Refactor Tobii Game Hub installation script

This commit is contained in:
Manuel Thalmann 2023-07-20 00:53:21 +02:00
parent 19fe5d742e
commit 11b85e36e6

View file

@ -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)