Guest User

Untitled

a guest
Jul 19th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. from pymouse import PyMouse
  2. import time
  3.  
  4. def main():
  5. m = PyMouse()
  6. time.sleep(5)
  7. for i in range(0, 2000):
  8. x, y = m.position()
  9. m.click(x,y)
  10. print 'clicked at %s : %s' % (x, y)
  11.  
  12.  
  13. if __name__ == '__main__':
  14. main()
Add Comment
Please, Sign In to add comment