Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AutoClicker

AutoClicker is a Python program. It clicks the mouse for you. It has a dark-themed window. It has three click modes.

AutoClicker screenshot

About

AutoClicker has three modes:

  • Autoclick Mode: The program clicks at a set speed. A hotkey starts and stops the clicks.
  • Keybind Mode: The program clicks while you hold a set key.
  • Normal Mode: The program clicks while you hold the left mouse button (M1).

Each mode lets you set the click speed. Some modes let you set a start delay.

Usage

Setup

  1. Clone or download this repository.
  2. Create a virtual environment:
python -m venv venv
  1. Activate the virtual environment.

On Linux or Mac:

source venv/bin/activate

On Windows:

venv\Scripts\activate
  1. Install the required packages:
pip install -r requirements.txt

Run the program

With the virtual environment active, run:

python autoclicker.py

Autoclick Mode

  1. Set the start delay and the clicks per second.
  2. Change the hotkey if needed. The default hotkey is F6.
  3. Click "Start Autoclicking," or press the hotkey.
  4. Press the hotkey again to stop.

Keybind Mode

  1. Set the clicks per second.
  2. Set the key to hold. The default key is F7.
  3. Click "Enable Keybind Mode."
  4. Hold the key to click.

Normal Mode

  1. Set the clicks per second and the start delay.
  2. Click "Enable Normal Mode."
  3. Hold the left mouse button (M1). Clicking starts after the delay.

Technical Details

AutoClicker uses the pynput library. This library controls mouse clicks and reads keyboard input. The interface uses ttkbootstrap. This library adds the dark theme to the standard Python GUI toolkit.

Each mode runs a click loop. The loop runs on a set delay, based on the clicks-per-second value. A hotkey listener runs at the same time. The listener starts and stops the loop without blocking the interface.

Requirements

  • Python 3.8 or later
  • pynput 1.7.6 or later
  • ttkbootstrap 1.10.1 or later

Notes

The program works on Windows, Mac, and Linux.

On Linux only, mouse and keyboard control may need extra permission. Run the program with sudo, or add your user to the input group. Windows and Mac do not need this step.

License

This project uses the GPL-3.0 license. See the LICENSE.md file for details.

About

Autoclicker with three click modes: autoclick, keybind hold, and mouse-hold.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Contributors

Languages