Hallo zusammen
Ich würde gerne während einer installation, den User daran hindern etwas zu machen, bzw einzugreifen.
Daher würde ich gerne einen Splash-Screen einblenden, der nach ca 10 min verschwindet, und mit Countdown.
[autoit]
$countdowntime = 600000 ; also 10 min
For $i = $countdowntime To 0 Step -60000
SplashTextOn("", @lf & @lf & "Estimated time to wait " & $i/60000 & " min" & @LF & @LF & "Installing Toad for DB2." & @LF & @LF & "Please wait 10 Minutes. The Mouse and Keyboard are now Locked." ,@DesktopWidth,@DesktopHeight,-1,-1,0+1,"",36)
BlockInput(1)
Sleep(60000)
Next
SplashOff()
BlockInput(0)
Das funktioniert soweit auch
Nun würde ich aber gerne noch abfragen, ob ein Process namens NGenWrapper.exe eröffnet wird, und solange warten bis er da ist. Dann kann der Splashscreen verschwinden. Nur wie bekomme ich nun die beiden Zeilen, in eine laufende schleife, die ja weiterlaufen soll?
ProcessWait ( "NGenWrapper.exe")
ProcessWaitClose("NGenWrapper.exe")
Danke für eure Hilfe..