Hey,
gibts ne möglichkeit ne zeitanzeige von sagen wir 30 sec, in ner msgbox bspweise runterzählen zu lassen?
Gruß
Hey,
gibts ne möglichkeit ne zeitanzeige von sagen wir 30 sec, in ner msgbox bspweise runterzählen zu lassen?
Gruß
Ohne eigene GUI: Nein.
$i = 30
Do
MsgBox(0,"",$i, 1)
$i = $i - 1
Until $i = 0
Meinst du so?
doch
[autoit]#Include <Timers.au3>
[/autoit][autoit][/autoit][autoit]$hGui = GUICreate("")
$Timer = _Timer_SetTimer($hGui, 1000, "_UpdateMsgBox")
MsgBox(262144 + 64, "Countdown", 10, 10)
_Timer_KillTimer($hGui, $Timer)
Func _UpdateMsgBox($hWnd, $Msg, $iIDTimer, $dwTime)
Local $sText = ControlGetText("Countdown", "", "Static2")
ControlSetText("Countdown", "", "Static2", $sText - 1)
EndFunc
ist von funkey (dank Sufu mit CountDown MsgBox gefunden)
mfg (Auto)Bert
wunderbar danke