genau das mein ich doch die ganze zeit..
Der script soll starten und nix anderes :P
Der script soll starten und nix anderes :P
Quote:
;HotKeySet("!e","_Ende")
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Spammer by Kauknochen", 607, 425, 192, 124)
$Button1 = GUICtrlCreateButton("Aus", 8, 384, 89, 33, $WS_GROUP)
$Button2 = GUICtrlCreateButton("Start", 8, 352, 89, 33, $WS_GROUP)
$Input1 = GUICtrlCreateInput("Was soll ich spammen?", 104, 392, 129, 21)
GUISetState(@SW_SHOW)
$Pic1 = GUICtrlCreatePic("C:\Dokumente und Einstellungen\lol\Desktop\awesome.gif",0,0,610,425 )
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
case $button2
Sleep(3000)
While 1
Send (GUICtrlRead($Input1))
Send("{Enter}")
Sleep (1000)
WEnd
case $button1
Exit
EndSwitch
WEnd
Func _Exit()
Exit
EndFunc