;AUTOIT3
;
;AutoGordianKnot 1.60 aka AutoGK
;Silent default installation
;philmebeer - defaults from somewhere....
;
; ----------------------------------------------------------------------------
; Script Defaults
; ----------------------------------------------------------------------------
Opt ("CaretCoordMode", 1) ;1=absolute, 0=relative
Opt ("ExpandEnvStrings", 0) ;0=don"t expand, 1=do expand
Opt ("MouseClickDelay", 10) ;10 milliseconds
Opt ("MouseClickDownDelay",10) ;10 milliseconds
Opt ("MouseClickDragDelay",250) ;250 milliseconds
Opt ("MouseCoordMode", 0) ;1=absolute, 0=relative
Opt ("MustDeclareVars", 0) ;0=no, 1=require pre-declare
Opt ("PixelCoordMode", 1) ;1=absolute, 0=relative
Opt ("RunErrorsFatal", 1) ;1=fatal, 0=silent set @error
Opt ("SendAttachMode", 0) ;0=don"t attach, 1=do attach
Opt ("SendCapslockMode",1) ;1=store and restore, 0=don"t
Opt ("SendKeyDelay", 500) ;400 milliseconds
Opt ("SendKeyDownDelay",1) ;1 millisecond
Opt ("TrayIconDebug", 1) ;0=no info, 1=debug line info
Opt ("TrayIconHide", 0) ;0=show, 1=hide tray icon
Opt ("WinDetectHiddenText",0) ;0=don"t detect, 1=do detect
Opt ("WinSearchChildren",1) ;0=no, 1=search children also
Opt ("WinTitleMatchMode", 3) ;1=start, 2=subStr, 3=exact, 4=...
Opt ("WinWaitDelay",500) ;500 milliseconds
; ----------------------------------------------------------------------------
; Script Start
; ----------------------------------------------------------------------------
Run ("autogordianknot.1.60.setup.exe /S")
WinWaitActive ( "Installer Language" )
ControlClick ( "Installer Language" , "OK" , "Button1" )
WinWaitActive ( "VobSub 2.23 Setup" )
ControlClick ( "VobSub 2.23 Setup" , "&Next >" , "Button1")
WinWaitActive ( "VobSub 2.23 Setup: Installation Options" )
ControlClick ( "VobSub 2.23 Setup: Installation Options" , "&Next >" , "Button1")
WinWaitActive ( "VobSub 2.23 Setup: Installation Folder" )
ControlClick ( "VobSub 2.23 Setup: Installation Folder" , "&Install" , "Button1")
WinWaitActive ( "VobSub 2.23 Setup: Completed" )
ControlClick ( "VobSub 2.23 Setup: Completed" , "&Close" , "Button1")
WinWaitActive ( "AviSynth 2.5.5 " )
ControlClick ( "AviSynth 2.5.5 " , "&Agree" , "Button2" )
ControlClick ( "AviSynth 2.5.5 " , "&Next >" , "Button2" )
ControlClick ( "AviSynth 2.5.5 " , "&Install" , "Button2" )
WinSetTitle ( "AviSynth 2.5.5 ", "", "AviSynth 2.5.5 Install" )
WinWaitNotActive ( "AviSynth 2.5.5 Install" )
ControlClick ( "AviSynth 2.5.5 " , "&Finish" , "Button2" )
WinWaitActive ( "Select Setup Language" )
ControlClick ( "Select Setup Language" , "OK" , "TButton1" )
WinWaitActive ( "Setup - XviD" )
ControlClick ( "Setup - XviD" , "&Next >" , "TButton1" )
ControlClick ( "Setup - XviD" , "I &accept the agreement" , "TRadioButton1" )
ControlClick ( "Setup - XviD" , "&Next >" , "TButton2" )
ControlClick ( "Setup - XviD" , "&Next >" , "TButton2" )
ControlClick ( "Setup - XviD" , "&Next >" , "TButton3" )
ControlClick ( "Setup - XviD" , "&Next >" , "TButton4" )
ControlClick ( "Setup - XviD" , "&Next >" , "TButton4" )
ControlClick ( "Setup - XviD" , "&Install" , "TButton4" )
WinWaitNotActive ( "Setup - XviD", "" , "4" )
ControlClick ( "Setup - XviD" , "&Finish" , "TButton4" )
FILECOPY ("\install\AutoGK\AutoGK_Assistant.ex_", "\Progra~1\AutoGK\AutoGK_Assistant.exe")
;end