und wieso bauste das nicht ein was ich dir im 2ten Post hierdrin gezeigt hab?
Spoiler anzeigen
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <ButtonConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Pasword Abfrage", 258, 87, 192, 124)
$Input1 = GUICtrlCreateInput("", 128, 40, 121, 21, $ES_PASSWORD)
$Label1 = GUICtrlCreateLabel("Password Abfrage", 8, 0, 131, 20)
GUICtrlSetFont(-1, 10, 800, 0, "MS Sans Serif")
$Label2 = GUICtrlCreateLabel("Bitte Password eingeben:", 0, 40, 124, 17)
$Weiter = GUICtrlCreateButton("Weiter >", 8, 56, 75, 25, BitOR($BS_DEFPUSHBUTTON,$WS_GROUP))
$Label3 = GUICtrlCreateLabel("Made by Mrx", 144, 16, 76, 17)
GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif")
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Weiter
If GUICtrlRead($Input1) = "23081994" Then
Main()
Else
TrayTip("Fehler", "Sie haben das Fasche Password eingegeben!", 6)
EndIf
EndSwitch
WEnd
Func Main()
msgbox(0,"","Main")
EndFunc