#cs ---------------------------------------------------------------------------- AutoIt Version: 3.3.14.2 Author: Kirsty Monk Script Function: Install LandCadd 2017. #ce ---------------------------------------------------------------------------- ; Script Start - Add your code below here Run("KSLC_11_1_0_Setup_x64.exe") WinWaitActive("KeySCAPE LandCADD 11 - InstallShield Wizard", "Welcome to the KeySCAPE") Send("{ENTER}") WinWaitActive("KeySCAPE LandCADD 11 - InstallShield Wizard", "Install Sentinel Runtime") Send("!N") WinWaitActive("KeySCAPE LandCADD 11 - InstallShield Wizard", "Install Access Database Driver") Send("!N") WinWaitActive("KeySCAPE LandCADD 11 - InstallShield Wizard", "licence agreement for your Keysoft Solutions software") Send("!a") Send("!N") WinWaitActive("KeySCAPE LandCADD 11 - InstallShield Wizard", "Select folder where Setup will install program files") Send("!N") WinWaitActive("KeySCAPE LandCADD 11 - InstallShield Wizard", "Select folder where Setup will install support files") Send("!N") WinWaitActive("Select AutoCAD", "AutoCAD vertical product") $hWindow = WinGetHandle("Select AutoCAD") $hControl = ControlGetHandle($hWindow, "", "[CLASS:ListBox; INSTANCE:1]") ControlCommand($hWindow, "", $hControl, "SelectString", "AutoCAD 2016 - English") Controlclick("Select AutoCAD", "", "[TEXT:OK]") WinWaitActive("Imperial Data?","") Send("!Y") WinWaitActive("KeySCAPE LandCADD 11 - InstallShield Wizard", "successfully installed KeySCAPE") Controlclick("KeySCAPE LandCADD 11 - InstallShield Wizard", "successfully installed KeySCAPE", "[TEXT:Finish]")