Skip to content

Instantly share code, notes, and snippets.

@markzz
Created June 18, 2015 19:48
Show Gist options
  • Save markzz/439601869900d162330c to your computer and use it in GitHub Desktop.
Save markzz/439601869900d162330c to your computer and use it in GitHub Desktop.
#!/usr/bin/env python2
from pymouse import PyMouse
import time
m = PyMouse()
x_dim, y_dim = m.screen_size()
while True:
m.click(x_dim/2, y_dim/2, 1)
time.sleep(0.05)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment