I have a simple do loop and within the loop I need it to
run commands one after the other. I have the loop set now to
3 and I expect each runwait to be called one after the other.
I am however seing that each runwait is called 3 times then
the next one. What am I missing here.
; Set the counter
$count = 1
; Execute the loop "until" the counter is greater than 5
Do
; Print the count
;MsgBox(0, "COUNT NUMBER", "Count is:" & $count, 3)
RunWait("E:\share-main\Autoit\RGDK\reboot.au3.exe", "", @SW_MINIMIZE)
RunWait("E:\share-main\Autoit\RGDK\telstar-getuptime.au3.exe", "", @SW_MINIMIZE)
RunWait("E:\share-main\Autoit\RGDK\file-check.au3.exe", "", @SW_MINIMIZE)
; Increase the count by one
$count = $count + 1
Until $count > 3