Advertisement
Guest User

moj skrypt

a guest
Mar 26th, 2019
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.50 KB | None | 0 0
  1. import time
  2. from pynput.mouse import Button, Controller #musisz zainstalować biblioteke pynput (piszesz w terminalu "python pip install pynput" )
  3. mouse = Controller()
  4. i=0
  5. time.sleep(3)
  6. while i==0:
  7.     #mouse.move(100, 0)
  8.     mouse.press(Button.left)
  9.     mouse.release(Button.left)
  10.     time.sleep(1.2) #ustaw na 0.7 jezeli na serwie nie ma lagów
  11.     #mouse.move(-100, 0)
  12.     mouse.press(Button.left)
  13.     mouse.release(Button.left)
  14.     time.sleep(1.2)#ustaw na 0.7 jezeli na serwie nie ma lagów
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement