Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- procedure ClickColor();
- var
- x, y:Integer;
- begin
- if(FindColor(x, y, 16711680 ,0,0,600,652)) then
- begin
- MoveMouse(x, y);
- ClickMouse(x, y, mouse_Left);
- end;
- end;
- begin
- repeat
- ClickColor();
- wait(20 * 1000); //<- ms between clicks
- until(false);
- end.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement