Hey ich habe eine frage ich möchte gerne in auto it etwas mit ladebalken machen. Wenn dieser durch gelaufen ist soll sich ein "programm" öffnen
aber so wie ich es in Autoit habe öffnet es das programm so oft bis der lade balken durch gelaufen ist.
Hilfe.
aber so wie ich es in Autoit habe öffnet es das programm so oft bis der lade balken durch gelaufen ist.
Hilfe.
HTML Code:
#include <GUIConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Intro", 235, 96, 279, 266)
$Label1 = GUICtrlCreateLabel("Hey, Das ist mein TEST ", 32, 16, 161, 17)
$Progress1 = GUICtrlCreateProgress(40, 32, 142, 25)
$Button1 = GUICtrlCreateButton("Start", 80, 64, 65, 25, 0)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
for $i = 0 to 100
GUICtrlSetData($Progress1, $i)
sleep(50)
run ("Programm")
Next
EndSwitch
WEnd