Last active
December 25, 2021 02:59
-
-
Save simonwongwong/8895d2168f989bc15340bc728d8bff07 to your computer and use it in GitHub Desktop.
clicker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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