Hallo...Habe einen simplen spamm-bot erstellt...der kann auf das notepad zugreifen...aber man muss erst einmal in das notepad klicken...das soll er aber von aleine machen..geht das???Hier mein script bis jetzt:
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("SpammBot V1.1", 296, 131, 192, 124)
$Input1 = GUICtrlCreateInput("Hier den Text hinein schreiben", 8, 8, 281, 21)
$Label1 = GUICtrlCreateLabel("Hier den Text", 8, 32, 100, 17)
$Input2 = GUICtrlCreateInput("Zeit", 8, 56, 281, 21)
$Label2 = GUICtrlCreateLabel("Wie schnell?", 8, 80, 100, 17)
$Button1 = GUICtrlCreateButton("Spamm", 160, 80, 121, 41, $WS_GROUP)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
HotKeySet("{F2}", "ToggleStop")
Global $Stop
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $Button1
spamm()
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
Func spamm()
MsgBox(0, "Hinweis!", "Zum Stoppen drücke F2!")
ShellExecute("notepad.exe")
While 1
Send(GUICtrlRead($Input1))
Send ("{enter}")
Sleep(GUICtrlRead($Input2))
WEnd
EndFunc
Func ToggleStop()
$Stop = NOT $Stop
MsgBox(0, "Information", "Das Programm beendet sich jetzt")
Exit
EndFunc
Hoffe man kann das machen ...
Thx for Help