PHP Code:
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include <ButtonConstants.au3>
#include <EditConstants.au3>
$Minutes = GUICreate("SpamBot", 394, 221, Default, Default, -1, BitOR($WS_EX_TOOLWINDOW,$WS_EX_WINDOWEDGE,$WS_EX_TOPMOST))
$blabla6 = GUICtrlCreateLabel("Nachricht:", 162, 8, 53, 17)
$zeile1 = GUICtrlCreateInput("", 34, 32, 329, 21, BitOR ($ES_CENTER,$ES_WANTRETURN))
$zeile2 = GUICtrlCreateInput("", 34, 56, 329, 21, BitOR ($ES_CENTER,$ES_WANTRETURN))
$zeile3 = GUICtrlCreateInput("", 34, 80, 329, 21, BitOR ($ES_CENTER,$ES_WANTRETURN))
$send = GUICtrlCreateButton("Start", 200, 128, 51, 21, $WS_GROUP)
$wait = GUICtrlCreateInput("5000", 104, 128, 65, 21, BitOR($ES_CENTER,$ES_NUMBER))
$blabla5 = GUICtrlCreateLabel("Wartezeit in ms", 24, 131, 76, 17)
$pause = GUICtrlCreateButton("Pause", 264, 128, 51, 21, $WS_GROUP)
$ende = GUICtrlCreateButton("Ende", 328, 128, 49, 21, $WS_GROUP)
$hotkey = GUICtrlCreateButton("HotKey", 192, 192, 73, 20, $WS_GROUP)
GUISetState(@SW_SHOW)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $send
Start()
Case $pause
Pause()
Case $ende
Ende()
EndSwitch
WEnd
Func Start()
While 1
$sleep = ((GUICtrlRead($wait)))
Sleep($sleep)
Send((GUICtrlRead($zeile1)) & "{ENTER}")
Sleep($sleep)
Send((GUICtrlRead($zeile2)) & "{ENTER}")
Sleep($sleep)
Send((GUICtrlRead($zeile3)) & "{ENTER}")
WEnd
EndFunc
Func Pause()
While 1
Sleep(100)
WEnd
EndFunc
Func Ende()
Exit
EndFunc