34 lines
2.3 KiB
AutoIt
34 lines
2.3 KiB
AutoIt
#region ---Au3Recorder generated code Start (v3.3.7.0) ---
|
||
|
||
#region --- Internal functions Au3Recorder Start ---
|
||
Func _Au3RecordSetup()
|
||
Opt('WinWaitDelay',100)
|
||
Opt('WinDetectHiddenText',1)
|
||
Opt('MouseCoordMode',0)
|
||
EndFunc
|
||
|
||
Func _WinWaitActivate($title,$text,$timeout=0)
|
||
WinWait($title,$text,$timeout)
|
||
If Not WinActive($title,$text) Then WinActivate($title,$text)
|
||
WinWaitActive($title,$text,$timeout)
|
||
EndFunc
|
||
|
||
_AU3RecordSetup()
|
||
#endregion --- Internal functions Au3Recorder End ---
|
||
|
||
|
||
Run('Setup.exe')
|
||
_WinWaitActivate("Welcome to Setup","Thank you for instal")
|
||
Send("{ENTER}")
|
||
_WinWaitActivate("Software License Agreement","Software License Agr")
|
||
Send("{ENTER}{TAB}{TAB}{ENTER}")
|
||
_WinWaitActivate("Choose how the application will be used","Choose how the appli")
|
||
Send("{DOWN}{TAB}{TAB}{TAB}{ENTER}")
|
||
_WinWaitActivate("Choose Destination Location","Choose Destination L")
|
||
Send("{TAB}{TAB}{TAB}{ENTER}")
|
||
_WinWaitActivate("Ready to Install","Setup has enough inf")
|
||
Send("{ENTER}{TAB}{TAB}{ENTER}")
|
||
_WinWaitActivate("Install Process","Create a shortcut on")
|
||
Send("{ENTER}")
|
||
#endregion --- Au3Recorder generated code End ---
|