So extrem Sinn und Ideenlos...
Code:
HOTKEYSET("{F6}", "start")
HotKeySet("{ESC}", "_EXIT")
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
$TEST1 = InputBox("Text", "Was willst du schreiben?")
MsgBox(0, "Functions", "Jetzt kommt erstmal ein Test Fenster..." & @CRLF & "F6 = Bot starten" & @CRLF & "ESC = Bot schließen")
#Region ### START Koda GUI section ### Form=
$FORM1 = GUICreate("Test für Spammen", 268, 295, 192, 124)
$TEXTEINGABE = GUICtrlCreateEdit("", 0, 0, 265, 289)
GUICtrlSetData(-1, "Dein Text den du eingeben willst...")
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$NMSG = GUIGetMsg()
Switch $NMSG
Case $GUI_EVENT_CLOSE
Exit
Case $FORM1
Case $TEXTEINGABE
EndSwitch
WEnd
Func START()
While 1
Send($TEST1)
Send("{ENTER}")
WEnd
EndFunc
Func _EXIT()
Exit
EndFunc