Skip to content

Instantly share code, notes, and snippets.

@primetoxinz
Created April 21, 2018 00:00
Show Gist options
  • Save primetoxinz/4e334c0cea276a4934ae9a198eae0e15 to your computer and use it in GitHub Desktop.
Save primetoxinz/4e334c0cea276a4934ae9a198eae0e15 to your computer and use it in GitHub Desktop.
from pykeyboard import PyKeyboard
from pymouse import PyMouse
kb = PyKeyboard()
m = PyMouse()
while True:
x,y = m.position()
m.click(x,y, button=2)

install python 3 in a cmd run: pip install PyUserInput

cmd in the directory with cobble.py python cobble.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment