Advertisement
Yarukinasu

AutoClicker

Apr 2nd, 2011
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.29 KB | None | 0 0
  1. import java.awt.Robot;
  2.  
  3. public class AutoClicker
  4. {
  5.     public static void main(String[] args)
  6.     {
  7.         while (true) {
  8.             try {
  9.                 Robot myBot = new Robot();
  10.  
  11.                 while(true) {
  12.                     myBot.mousePress(16);
  13.                     myBot.mouseRelease(16);
  14.                 }
  15.             }
  16.             catch (Exception ex) { }
  17.         }
  18.     }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement