So ich mach mal wieder ein Spam-Bot, aber diesmal mir GUI!
Allerdings stimmt der gesendete Text und der Delay nicht!
Bräuchte echt mal Hilfe!
Allerdings stimmt der gesendete Text und der Delay nicht!
Bräuchte echt mal Hilfe!
PHP Code:
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 177, 234, 192, 124)
$Checkbox1 = GUICtrlCreateCheckbox("Checkbox1", 8, 112, 17, 17)
$Checkbox2 = GUICtrlCreateCheckbox("Checkbox2", 8, 136, 17, 17)
$Checkbox3 = GUICtrlCreateCheckbox("Checkbox3", 8, 160, 17, 17)
$Text1 = GUICtrlCreateInput("Text1", 32, 112, 121, 21)
$Text2 = GUICtrlCreateInput("Text2", 32, 136, 121, 21)
$Text3 = GUICtrlCreateInput("Text3", 32, 160, 121, 21)
$Delay = GUICtrlCreateInput("Delay", 8, 80, 145, 21)
$Info = GUICtrlCreateButton("Info", 8, 200, 75, 25, 0)
$Exit = GUICtrlCreateButton("Exit", 88, 200, 75, 25, 0)
$Countdown = GUICtrlCreateLabel("Countdown", 8, 24, 58, 28)
$Start = GUICtrlCreateButton("Start", 72, 8, 75, 25, 0)
$Pause = GUICtrlCreateButton("Pause", 72, 48, 75, 25, 0)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Start
Senden()
Case $Pause
Schlafen()
Case $Exit
Exit
Case $Info
Info()
EndSwitch
WEnd
HotKeySet("{F5}", "Senden()")
HotKeySet("{F6}", "Schlafen()")
HotKeySet("{ESC}", "beenden()")
Func Info()
MsgBox("0", "Info", "Starten = F5, Pause = F6, Beenden = ESC")
EndFunc
Func beenden()
Exit
EndFunc
Func Schlafen()
While 1
Sleep(10000)
WEnd
EndFunc
Func Senden()
$Countdown = GUICtrlCreateLabel("5", 8, 24, 58, 28)
Sleep(1000)
$Countdown = GUICtrlCreateLabel("4", 8, 24, 58, 28)
Sleep(1000)
$Countdown = GUICtrlCreateLabel("3", 8, 24, 58, 28)
Sleep(1000)
$Countdown = GUICtrlCreateLabel("2", 8, 24, 58, 28)
Sleep(1000)
$Countdown = GUICtrlCreateLabel("1", 8, 24, 58, 28)
Sleep(1000)
$Countdown = GUICtrlCreateLabel("Start!", 8, 24, 58, 28)
While 1
If $Checkbox1 Then
Send($Text1)
Send("({Enter})")
EndIf
Sleep($Delay)
If $Checkbox2 Then
Send($Text2)
Send("({Enter})")
EndIf
Sleep($Delay)
If $Checkbox3 Then
Send($Text3)
Send("({Enter})")
EndIf
Sleep($Delay)
WEnd
EndFunc