Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import time
- from pynput.mouse import Button, Controller #musisz zainstalować biblioteke pynput (piszesz w terminalu "python pip install pynput" )
- mouse = Controller()
- i=0
- time.sleep(3)
- while i==0:
- #mouse.move(100, 0)
- mouse.press(Button.left)
- mouse.release(Button.left)
- time.sleep(1.2) #ustaw na 0.7 jezeli na serwie nie ma lagów
- #mouse.move(-100, 0)
- mouse.press(Button.left)
- mouse.release(Button.left)
- 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