I started to work on this script but no idea how to make it when the bobber(image) move to trigger ...any action.
how can i record/capture it that when its move, to trigger LMB and HOLD it.
as you can see i tried with pixel color but its very buggy and not detected always...should i do ImageSearch ?
Thank you all in advance
Code: Select all
Click, 960, 540 Left, Down
Sleep, 1000
Click, 960, 540 Left, Up
Loop
{
CoordMode, Pixel, Screen
PixelSearch, 0, 0, 1682, 269, 1874, 385, 0x974142, 30, RGB
If ErrorLevel
Break
}
Until ErrorLevel = 0
If ErrorLevel = 0
{
Click, 960, 540 Right, Down
Sleep, 10
Click, 960, 540 Right, Up
}