Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. program New;
  2.  
  3. var
  4. a, b, aa, bb: Integer;
  5.  
  6.  
  7. procedure Click(x, y, rx, ry: Integer; Left: Boolean);
  8. var
  9. xx, yy, T, OffSetX, OffSetY: Integer;
  10. D: Extended;
  11. begin
  12. MoveWindMouse(x, y, rx, ry);
  13. GetMousePos(xx, yy);
  14. HoldMouse(xx, yy, Left);
  15. Wait(30+Random(Random(170)));
  16. GetMousePos(xx, yy);
  17. ReleaseMouse(xx, yy, Left);
  18. end;
  19.  
  20.  
  21.  
  22.  
  23. begin
  24. Wait(1000);
  25. getmousepos(a, b);
  26. repeat
  27. aa := a-2+random(5);
  28. bb := b-2+random(5);
  29. Click(aa, bb, 0, 0, false);
  30. Wait(70+Random(150));
  31. Click(aa-2, bb+45, 5, 2, True);
  32. wait(30+Random(random(100));
  33. until(false);
  34. end.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement