Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from pymouse import PyMouse
- import time
- def main():
- m = PyMouse()
- time.sleep(5)
- for i in range(0, 2000):
- x, y = m.position()
- m.click(x,y)
- print 'clicked at %s : %s' % (x, y)
- if __name__ == '__main__':
- main()
Add Comment
Please, Sign In to add comment