Advertisement
Peaser

Stealthy mouse prank for windows

Jul 2nd, 2014
348
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.23 KB | None | 0 0
  1. import win32gui,win32api,random,time
  2. while True:
  3.     value1,value2 = random.choice([-1,0,1]),random.choice([-1,0,1])
  4.     win32api.SetCursorPos((win32gui.GetCursorPos()[0]+value1,win32gui.GetCursorPos()[1]+value2))
  5.     time.sleep(0.02)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement