Skip to content

Instantly share code, notes, and snippets.

@simonwongwong
Last active December 25, 2021 02:59
Show Gist options
  • Save simonwongwong/8895d2168f989bc15340bc728d8bff07 to your computer and use it in GitHub Desktop.
Save simonwongwong/8895d2168f989bc15340bc728d8bff07 to your computer and use it in GitHub Desktop.
clicker
import time
import pyautogui
import random
for i in range(3):
print(f"countdown: {3-i}")
time.sleep(1)
dist = 30
for _ in range(100000):
pyautogui.moveRel(dist, 0)
pyautogui.click()
time.sleep(2)
dist *= -1
@simonwongwong
Copy link
Author

set your mouse to the left arrow of the calendar then start the script

keep your terminal open so you can stop the script when you're done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment