habe mir mal erlaubt, ca 50 Zeilen zu kürzen...das hier
[autoit]$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
;Buchstaben
Case $Buttons[0]
GUICtrlSetData($Edit, GUICtrlRead($Edit) & GUICtrlRead($Buttons[0]))
Case $Buttons[1]
GUICtrlSetData($Edit, GUICtrlRead($Edit) & GUICtrlRead($Buttons[1]))
;
;
Case $Buttons[29]
GUICtrlSetData($Edit, GUICtrlRead($Edit) & GUICtrlRead($Buttons[29]))
wird zu
[autoit]$nMsg = GUIGetMsg(1) ;gibt ein Array zurück
Switch $nmsg[0]
Case $GUI_EVENT_CLOSE
Exit
;Buchstaben
Case $buttons[0] to $buttons[29] ;<---------Alle Buchstabentasten von 0 bis 29----------------
GUICtrlSetData($Edit, GUICtrlRead($Edit) & GUICtrlRead($nmsg[0]))
sehr fleissig ansonsten! Weiter so!