Advertisement
Guest User

Untitled

a guest
Jun 22nd, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. #!/usr/bin/python3
  2.  
  3. from pymouse import PyMouse
  4. from pykeyboard import PyKeyboard
  5. import random
  6. import time
  7.  
  8. m = PyMouse()
  9. m.click(800,400)
  10. time.sleep(1)
  11. temp=time.time()
  12. pos=m.position()
  13. while time.time()-temp<21600 and pos==m.position():
  14. m.click(800,1700)
  15. time.sleep(1.5+random.random()*.19)
  16.  
  17.  
  18. #k=PyKeyboard()
  19. #k.type_string('bingo')
  20. #k.tap_key(k.enter_key)
  21. ~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement