Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2014
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. procedure ClickColor();
  2. var
  3. x, y:Integer;
  4. begin
  5. if(FindColor(x, y, 16711680 ,0,0,600,652)) then
  6. begin
  7. MoveMouse(x, y);
  8. ClickMouse(x, y, mouse_Left);
  9. end;
  10. end;
  11.  
  12. begin
  13. repeat
  14. ClickColor();
  15. wait(20 * 1000); //<- ms between clicks
  16. until(false);
  17. end.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement