PHP Code:
#include <GUIConstantsEx.au3>
GUICreate("4Story EG GE Bot by IZEROI", 335, 100)
GUICtrlCreateLabel("Taste: ", 4, 10)
$key1 = GUICtrlCreateInput("1", 35, 8, 120)
GUICtrlCreateLabel("Zeit:", 5, 44)
$time1 = GUICtrlCreateInput("10000", 35, 40, 120)
$startbutton = GUICtrlCreateButton("Start", 190, 8, 60)
$stopbutton = GUICtrlCreateButton("Stopp",190 , 40, 60)
GUISetState(@SW_SHOW)
While 1
$msg = GUIGetMsg()
Select
Case $msg = $startbutton
$send1 = GUICtrlRead($key1)
$sleep1 = GUICtrlRead($time1)
Case $Msg = $stopbutton
MsgBox(0,"Stopp","Stopp geklickt..")
$stopbuttonLoop = False
GUICtrlSetState($startbutton, $GUI_ENABLE)
GUICtrlSetState($stopbutton, $GUI_DISABLE)
GUICtrlSetData($label1, "All Done")
While 1
Send($send1)
Sleep($sleep1)
WEnd
Case $msg = $GUI_EVENT_CLOSE
GUIDelete()
ExitLoop
EndSelect
WEnd
€dit: Hier der Fehler:
GUICtrlSetData($label1, "All Done")
GUICtrlSetData(^ ERROR
>Exit code: 1 Time: 1.901