Hayy.. ich wollte gerade einen Spambot erstellen der wenn ich in einen anderen Fenster "F1" drücke das spammt was in der Edit box steht
und es kommt immer der fehler :
PHP Code:
#include <GUIConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Spambot", 625, 365, 193, 125)
$Edit1 = GUICtrlCreateEdit("", 24, 96, 577, 233)
GUICtrlSetData(-1, "Edit1")
$Label1 = GUICtrlCreateLabel("F1=Start Spam", 24, 40, 127, 28)
GUICtrlSetFont(-1, 16, 400, 0, "MS Sans Serif")
$Label2 = GUICtrlCreateLabel("F2=Stop Spam", 227, 41, 129, 28)
GUICtrlSetFont(-1, 16, 400, 0, "MS Sans Serif")
$Label3 = GUICtrlCreateLabel("F3=Beenden", 445, 42, 115, 28)
GUICtrlSetFont(-1, 16, 400, 0, "MS Sans Serif")
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
HotKeySet("{F1}", "_Start")
Func _Start ()
While 1
Sleep(300)
Send(GUICtrlRead($Edit1))
Send("{ENTER}")
WEnd
HotKeySet("{F2}", "_Stop")
Func _Stop ()
While
Sleep(25000)
WEnd
EndFunc
HotKeySet("{F3}","_Exit")
Func _Exit ()
Exit
EndFunc
PHP Code:
>"C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /prod /ErrorStdOut /in "C:\Users\User\Desktop\AutoIt v3 Script (neu) (2).au3" /autoit3dir "C:\Program Files (x86)\AutoIt3" /UserParams
+>14:30:33 Starting AutoIt3Wrapper v.2.0.1.24 Environment(Language:0407 Keyboard:00000407 OS:WIN_7/ CPU:X64 OS:X64)
>Running AU3Check (1.54.19.0) from:C:\Program Files (x86)\AutoIt3
C:\Users\User\Desktop\AutoIt v3 Script (neu) (2).au3(33,2) : ERROR: syntax error
Func
^
C:\Users\User\Desktop\AutoIt v3 Script (neu) (2).au3(31,27) : ERROR: _Stop(): undefined function.
HotKeySet("{F2}", "_Stop")
~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Users\User\Desktop\AutoIt v3 Script (neu) (2).au3 - 2 error(s), 0 warning(s)
!>14:30:33 AU3Check ended.rc:2
>Exit code: 0 Time: 3.634