Skip to content

Instantly share code, notes, and snippets.

View yisonPylkita's full-sized avatar
👻
Just a normal, beautiful day

Wojciech Bartnik yisonPylkita

👻
Just a normal, beautiful day
  • Warsaw, Poland
View GitHub Profile
@yisonPylkita
yisonPylkita / mousemove.py
Created July 14, 2017 10:52 — forked from phoboslab/mousemove.py
Python script to move the mouse cursor in windows with constant speed
import sys
import time
import win32api
if (len(sys.argv) < 4):
print "Usage: python mousemove.py dx dy speed"
sys.exit()
current = win32api.GetCursorPos()
cx = sx = current[0]