Ich habe ein Kleines Skript gemacht
[autoit]#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=E:\Hotkey\Form1.kxf
$Form1 = GUICreate("Login", 195, 106, 374, 194)
$Input1 = GUICtrlCreateInput("Benutzernamen", 8, 8, 177, 21)
$Input2 = GUICtrlCreateInput("Passwort", 8, 48, 177, 21)
$Button1 = GUICtrlCreateButton("ok", 8, 72, 75, 25)
$Button2 = GUICtrlCreateButton("Abrechen", 112, 72, 75, 25)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button2
Exit
Case $Button1
If $Input1 = "Felix" And $Input2 = "123" Then
MsgBox ("Richtig","Danke")
EndIf
EndSwitch
WEnd
Und wenn ich jetzt die richtigen daten eingebe und auf ok Drücke kommt nicht das Richtig wo ist der Fehler