Skip to content

Instantly share code, notes, and snippets.

@GeorgiyDemo
Created February 25, 2022 11:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GeorgiyDemo/00e068b41027e5c82a06b39e7b881213 to your computer and use it in GitHub Desktop.
Save GeorgiyDemo/00e068b41027e5c82a06b39e7b881213 to your computer and use it in GitHub Desktop.
import pyautogui
import time
import random
time.sleep(5)
while True:
pyautogui.moveRel(100, 0)
time.sleep(1)
pyautogui.moveRel(0, -100)
time.sleep(1)
pyautogui.moveRel(-100, 0)
time.sleep(1)
pyautogui.moveRel(0, 100)
print(f"Moved successfully")
time.sleep(random.randint(1, 60))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment