Advertisement
Guest User

autoclicker

a guest
Sep 4th, 2018
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- Simple autoclicker by Jack Longmuir.
  2.  
  3. -- Change these coordinates to the coordinates of the pixel you'd like clicked repeatedly.
  4. -- You can find this using cmd+shift+4
  5.  
  6. set x to 0
  7. set y to 0
  8.  
  9.  
  10. set iterate to 0
  11. repeat while (iterate < 1)
  12.     tell application "System Events"
  13.         click at {x,y}
  14.     end tell
  15.     delay (1)
  16. end repeat
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement