Hallo,
ich habe eine Frage zur Umsetzung eines Loop Counters
Die Anzahl der Durchgänge werden per InputBox abgefragt (bei erreichen "ESC" + MsgBox)
Der Aktuelle Status soll kurz (10s) am unteren rechten Bildschirmrand angezeigt werden.
Bis jetzt habe ich folgendes fertig.
$anzahl=InputBox("Anzahl der Durchgänge","Bitte gewünschte Anzahl angeben","*")
[/autoit][autoit][/autoit][autoit]HotKeySet("{ESC}","_exit")
[/autoit][autoit][/autoit][autoit]RunWait('load.exe')
[/autoit][autoit][/autoit][autoit]While True
[/autoit][autoit][/autoit][autoit]$status=DriveStatus($drive)
[/autoit][autoit][/autoit][autoit]If $status = "NOTREADY" Then _next()
[/autoit][autoit][/autoit][autoit]sleep(1000)
[/autoit][autoit][/autoit][autoit]WEnd
[/autoit][autoit][/autoit][autoit]Func _next()
[/autoit][autoit][/autoit][autoit]RunWait('load1.exe ')
[/autoit][autoit][/autoit][autoit]sleep(1000)
[/autoit][autoit][/autoit][autoit]$iCount =0
[/autoit][autoit][/autoit][autoit]Do
[/autoit][autoit][/autoit][autoit]$iCount += 1
[/autoit][autoit][/autoit][autoit]Until $iCount = $anzahl
[/autoit][autoit][/autoit][autoit]RunWait('load2.exe')
[/autoit][autoit][/autoit][autoit]sleep(1000)
[/autoit][autoit][/autoit][autoit]MouseClick("left",591,550,2)
[/autoit][autoit][/autoit][autoit]EndFunc
[/autoit][autoit][/autoit][autoit]Func _exit()
[/autoit][autoit][/autoit][autoit]Exit
[/autoit][autoit][/autoit][autoit]EndFunc
[/autoit]Wie bekomme ich das mit der Anzeige & "ESC"+MsgBox hin?