Also brauche da hilfe es kommt immer ein feheler raus
[autoit]
Start2 ()
Func Start2 ()
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("PassWord", 236, 74, 1039, 665)
$Input1 = GUICtrlCreateInput("Input1", 8, 8, 137, 21)
$Label1 = GUICtrlCreateLabel("PW Bitte", 8, 32, 142, 41)
GUICtrlSetFont(-1, 24, 800, 0, "Rosewood Std Regular")
GUICtrlSetColor(-1, 0x0000FF)
$Button1 = GUICtrlCreateButton("OK", 152, 0, 75, 65, 0)
GUICtrlSetFont(-1, 24, 800, 0, "Rosewood Std Regular")
GUICtrlSetColor(-1, 0xFF0000)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
While 1
$a = GUICtrlRead ($input1)
If $a = "Longju2-Board" Then
Sleep (100)
GuiSetState (@SW_HIDE)
Sleep (100)
ExitLoop
EndIf
Sleep (100)
If Not $a = "Longju2-Board" Then
ToolTip ("Du hast das Falsche PW eigegeben",400,400)
EndIf
WEnd
EndSwitch
ExitLoop
WEnd
Start ()
EndFunc
Func Start ()
MsgBox (0,"","lol",1)
Start2 ()
EndFunc
bitte hilfe