auto clicker

install the libraries
mail@pastecode.io avatar
unknown
python
a year ago
287 B
3
Indexable
Never
import time
import pyautogui
import random
count = 0
while True:
    count += 1
    pyautogui.click()  # Perform a mouse click
    print("Clicked ", count, " times")
    # random wait time between 10-100 sec
    sleep_time = random.randint(10, 100)
    time.sleep(sleep_time)