Skip to content

Instantly share code, notes, and snippets.

@teopost
Created September 19, 2014 19:51
Show Gist options
  • Save teopost/004182b51af0817248ad to your computer and use it in GitHub Desktop.
Save teopost/004182b51af0817248ad to your computer and use it in GitHub Desktop.
Fuck Miniclip
#!/usr/bin/python
import os
import time
def sposta_mouse(x,y):
os.system('xdotool mousemove ' + str(x) + ' ' + str(y))
def click_sinistro():
os.system('xdotool click 1')
posX=850
posY=440
#Tempo in secondi
t=10
while True:
sposta_mouse(posX,posY)
click_sinistro()
time.sleep(t)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment