Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <ButtonConstants.au3>
- #include <GUIConstantsEx.au3>
- #include <WindowsConstants.au3>
- #Region ### START Koda GUI section ### Form=
- $Form1 = GUICreate("HandFishBot", 132, 83, 192, 124)
- $Button1 = GUICtrlCreateButton("START", 16, 8, 97, 25)
- $Button2 = GUICtrlCreateButton("STOP", 16, 40, 97, 25)
- GUISetState(@SW_SHOW)
- #EndRegion ### END Koda GUI section ###
- While 1
- $nMsg = GUIGetMsg()
- Switch $nMsg
- Case $GUI_EVENT_CLOSE
- Exit
- case $Button1
- guictrlsetstate($Button1,$gui_disable)
- guictrlsetstate($Button2,$gui_enable)
- if _IsPressed("02") then
- EndSwitch
- WEnd
- Func fish()
- $StartPos = MouseGetPos()
- MouseMove (3027, 525, 1)
- MouseClick ("right")
- MouseMove ($StartPos [0], $StartPos [1], 1)
- EndFunc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement