Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;tab nation with help from Chris Kimbrell ahk=v1
- xpos1=
- xpos2=
- SetMouseDelay,-1
- SetBatchLines, -1
- CoordMode, Mouse, Screen
- CoordMode, Pixel, Screen
- Process, Priority,, High
- InputBox, HowMuchCatch, Catch Amount,How much fish to catch?,
- tooltip, Put mouse in top left corner of pond and press F1
- Return
- f1::
- If xpos1 =
- {
- MouseGetPos, xpos1, ypos1
- tooltip, Put mouse in bottom right corner of pond and press F1
- Return
- }
- If xpos2 =
- {
- MouseGetPos, xpos2, ypos2
- }
- tooltip
- sleep 5000
- loop %HowMuchCatch%
- {
- PixelSearch, 1Px, 1Py, %xpos1%, %ypos1%, %xpos2%, %ypos2%, 0x50452F, 90, Fast ; Find Fish
- 1Py:= 1Py+=30
- 1Px:= 1Px-15
- MouseClick, left, %1Px%, %1Py% ; Click on Fish
- sleep 250
- }
- tooltip, All done Reloading to start over
- sleep 3000
- reload
- exitapp
- f2::
- reload
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement