17 lines
318 B
AutoHotkey
17 lines
318 B
AutoHotkey
|
InstallGameHub()
|
||
|
{
|
||
|
SetTitleMatchMode, RegEx
|
||
|
windowTitle := "^Tobii Game Hub$"
|
||
|
|
||
|
Run, "setup.exe",,,pid
|
||
|
WinWait % windowTitle,, 60
|
||
|
WinActivate % windowTitle
|
||
|
MouseClick, Left, 485, 365
|
||
|
MouseClick, Left, 600, 455
|
||
|
MouseClick, Left, 533, 623
|
||
|
MouseClick, Left, 936, 662
|
||
|
Process, Close, %pid%
|
||
|
}
|
||
|
|
||
|
InstallGameHub()
|