Spoiler anzeigen
[autoit]
$Form1 = GUICreate("Form1", 422, 254, 192, 124)
$Input1 = GUICtrlCreateInput("", 89, 56, 207, 21, BitOR($ES_AUTOHSCROLL, $ES_NOHIDESEL, $ES_OEMCONVERT, $ES_READONLY, $ES_WANTRETURN, $ES_NUMBER))
$Button1 = GUICtrlCreateButton("Ändern", 32, 96, 337, 145, $WS_GROUP)
GUISetState(@SW_SHOW)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
GUICtrlSetData($Input1, "Hallo")
EndSwitch
WEnd