Advertisement
Guest User

Untitled

a guest
Jun 4th, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 0.73 KB | None | 0 0
  1. #include <ButtonConstants.au3>
  2. #include <GUIConstantsEx.au3>
  3. #include <WindowsConstants.au3>
  4. #Region ### START Koda GUI section ### Form=
  5. $Form1 = GUICreate("HandFishBot", 132, 83, 192, 124)
  6. $Button1 = GUICtrlCreateButton("START", 16, 8, 97, 25)
  7. $Button2 = GUICtrlCreateButton("STOP", 16, 40, 97, 25)
  8. GUISetState(@SW_SHOW)
  9. #EndRegion ### END Koda GUI section ###
  10.  
  11. While 1
  12.     $nMsg = GUIGetMsg()
  13.     Switch $nMsg
  14.         Case $GUI_EVENT_CLOSE
  15.             Exit
  16.         case $Button1
  17.             guictrlsetstate($Button1,$gui_disable)
  18.             guictrlsetstate($Button2,$gui_enable)
  19.             if _IsPressed("02") then
  20.     EndSwitch
  21. WEnd
  22.  
  23.  
  24. Func fish()
  25.     $StartPos = MouseGetPos()
  26.     MouseMove (3027, 525, 1)
  27.     MouseClick ("right")
  28.     MouseMove ($StartPos [0], $StartPos [1], 1)
  29. EndFunc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement