#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 _AU3RecordSetup() #endregion --- Internal functions Au3Recorder End --- FileChangeDir(@ScriptDir) $pid = Run('extra.exe /SILENT /NORESTART') Sleep(2000) while ProcessExists ($pid) Sleep(1000) If WinExists("Error","") Then Send("{TAB}{TAB}{ENTER}") EndIf WEnd #endregion --- Au3Recorder generated code End ---