Programa - http://www.goldwave.com/
Código:
; Run GoldWave 5.58
Run ("GoldWave558.exe")
; Welcome
WinActive ("Install" , "Install" )
ControlClick ("Install" , "" , "Button2" )
; Carpeta de destino
WinActive ("Destination Folder" , "Destination Folder" )
Send ( "GoldWave" )
Send (@ProgramFilesDir & "\GoldWave" )
ControlClick ("Destination Folder" , "" , "Button5" )
; Finalizar
WinActive ("Desktop Shortcut and Menu Options" , "Desktop Shortcut and Menu Options" )
ControlClick ("Desktop Shortcut and Menu Options" , "" , "Button9" )
; Finished!
Run ("GoldWave558.exe")
; Welcome
WinActive ("Install" , "Install" )
ControlClick ("Install" , "" , "Button2" )
; Carpeta de destino
WinActive ("Destination Folder" , "Destination Folder" )
Send ( "GoldWave" )
Send (@ProgramFilesDir & "\GoldWave" )
ControlClick ("Destination Folder" , "" , "Button5" )
; Finalizar
WinActive ("Desktop Shortcut and Menu Options" , "Desktop Shortcut and Menu Options" )
ControlClick ("Desktop Shortcut and Menu Options" , "" , "Button9" )
; Finished!
Creo que el AutoIt 3 no funciona vien porque con el mismo codigo unas veces llega a la ventana 2 o a instalarse.