Guest User

Untitled

a guest
Sep 22nd, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. #include <ButtonConstants.au3>
  2. #include <EditConstants.au3>
  3. #include <GUIConstantsEx.au3>
  4. #include <WindowsConstants.au3>
  5. Opt("GUIOnEventMode", 1)
  6. #Region ### START Koda GUI section ### Form=
  7. $Form1 = GUICreate("Spam-Bot", 175, 68, 192, 124)
  8. $Input1 = GUICtrlCreateInput("Fraza", 8, 8, 153, 21)
  9. $Button1 = GUICtrlCreateButton("Spam", 8, 32, 155, 25)
  10. GUISetState(@SW_SHOW)
  11. #EndRegion ### END Koda GUI section ###
  12.  
  13. GUISetOnEvent(-3,"quit")
  14. GUICtrlSetOnEvent($Button1,"spam")
  15.  
  16. While 1
  17. Sleep(100)
  18. WEnd
  19.  
  20. Func spam()
  21. $fraza = GUICtrlRead($Input1)
  22. While 1
  23. Send($fraza)
  24. Send("{ENTER}")
  25. WEnd
  26. EndFunc
  27.  
  28. Func quit()
  29. Exit
  30. EndFunc
Add Comment
Please, Sign In to add comment