Ist das so richtig ?Quote:
HotKeySet(" (1) ", "_1")
HotKeySet(" (2) ", "_2")
HotKeySet(" (3) ", "_3")
HotKeySet(" (4) ", "_4")
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=Form1.kxf
$Form1 = GUICreate("Spambot", 592, 234, 845, 274)
$Label1 = GUICtrlCreateLabel("Spamnaricht:", 8, 8, 66, 17)
$Label2 = GUICtrlCreateLabel("Spamabstand", 8, 128, 69, 17)
$Edit1 = GUICtrlCreateEdit("", 24, 32, 321, 81)
GUICtrlSetData(-1, "Schreib was rein")
$Input1 = GUICtrlCreateInput("Input1", 24, 152, 321, 21)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Form1
Case $Form1
Case $Form1
Case $Form1
Case $Label1
Case $Label2
Case $Edit1
Case $Input1
EndSwitch
WEnd
Func _1()
Sleep(5000)
Send(GUICtrlRead($Edit1))
Send("(ENTER)")
EndFunc
Func _2()
Sleep(5000)
While 1
Send(GUICtrlRead($Edit1))
Send("(ENTER)")
Sleep(GUICtrlRead($Input1))
WEnd
EndFunc
Func _3()
While 1
Sleep(500)
TrayTip("Spambot","Der Bot wurde pasuiert", 0,0)
WEnd
EndFunc
Func _4()
Exit
EndFunc
Weil wenn ich als was im oberen Feld schreibe schließt es sich.
Und wenn ich 1 Drücke kommt nix im Editor.
Kann wer helfen?