Untitled
unknown
plain_text
2 years ago
607 B
8
Indexable
import time from pynput.mouse import Listener import pyautogui time.sleep(5) mouse_moved = False def on_move(): global mouse_moved mouse_moved = True with Listener(on_move=on_move) as listener: while not mouse_moved: pyautogui.hotkey('ctrl', 'shift', 'n') pyautogui.write("https://nakarmpsa.olx.pl/blog/pet/gapcia/") pyautogui.press('enter') time.sleep(1) pyautogui.scroll(-200) pyautogui.click(x=1459, y=971, button='left') time.sleep(1.5) pyautogui.hotkey('ctrl', 'w') listener.stop() listener.join()
Editor is loading...
Leave a Comment