Hallo,
ich möchte, dass wenn in die Inputbox "a" geschrieben wird, dass dann eine Messagebox erscheint, dass "a" ausgewählt wurde. Wenn "A", dann alles eine Messagebox, dass Groß A ausgewählt wurde.
Hier mal mein Versuch :
Spoiler anzeigen
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
$Form1 = GUICreate("Form1", 282, 60, 192, 124)
$Input1 = GUICtrlCreateInput("Input1", 8, 8, 257, 21)
$Start = GUICtrlCreateButton("Start", 96, 32, 75, 25, $WS_GROUP)
GUISetState(@SW_SHOW)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Start
Switch GUICtrlRead($Input1)
if $A == "A" then
MsgBox (64, "Test", "Sie haben A ausgewählt")
EndIf
case "a"
MsgBox (64, "Test", "Sie haben a ausgewählt")
case "B"
MsgBox (64, "Test", "Sie haben B ausgewählt")
Endswitch
EndSwitch
WEnd
Funktioniert leider nicht ganz. Kann mir dort bitte jemand helfen?