Advertisement
Guest User

Untitled

a guest
Jul 28th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 0.62 KB | None | 0 0
  1. #include <GUIConstantsEx.au3>
  2. #include <StaticConstants.au3>
  3. #include <WindowsConstants.au3>
  4. #Region ### START Koda GUI section ### Form=
  5. Global $Form1 = GUICreate("Clicker", 287, 33, 455, 347)
  6. Global $Label2 = GUICtrlCreateLabel("Hold L key to Auto fast click on spot your mouse is.", 16, 8, 255, 17)
  7. GUISetState(@SW_SHOW)
  8. #EndRegion ### END Koda GUI section ###
  9.  
  10. While 1
  11.  
  12.     $nMsg = GUIGetMsg()
  13.     Switch $nMsg
  14.         Case $GUI_EVENT_CLOSE
  15.             Exit
  16.  
  17.         Case $Label2
  18.     EndSwitch
  19. WEnd
  20.  
  21.  
  22.  
  23. HotKeySet("L", "Pressed")
  24. HotKeySet("{ESC}", "Terminate")
  25.  
  26. While 1
  27.     Sleep(100)
  28. WEnd
  29.  
  30. Func Terminate()
  31.     Exit
  32. EndFunc
  33. Func Pressed()
  34.     MouseClick("left")
  35. EndFunc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement