Skip to content

About

Lightweight Python CLI AutoClicker that triggers automated mouse clicks at a custom speed when you begin holding down your designated mouse button.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

AutoClicker

Lightweight Python CLI AutoClicker that triggers automated mouse clicks at a custom speed
when you begin holding down your designated mouse button.

Uses background threading with an idle sleep interval so it doesn't drain resources when inactive.

Features

  • Mouse Button: Choose between Left (1), Right (2), or Middle (3) mouse clicks.
  • Mouse Button Held: Bind any mouse button to act as the hold trigger for auto clicking.
  • Clicks Per Second: Set any positive number for Clicks Per Second (CPS).

Installation & Usage

Go to the Releases page (right side-bar) on this repository and download the latest AutoClicker archive for your computer.
Extract the downloaded file by heading to your sidebar and going to Downloads, then double clicking the .zip file.

macOS

Requires macOS 11.0 or newer.
Works for Apple Silicon Macs (M1, M2, M3, M4, M5, etc.) and Intel Macs as well.

NOTE: Because the executable is not notarized with an Apple Developer ID,
macOS Gatekeeper may block it on the first run.

  • Via Finder: Double click the AutoClicker-Intel/Silicon Unix Executable.
  • Via Terminal: Remove the quarantine attribute and run it:

NOTE: Replace ./AutoClicker with ./AutoClicker-Silicon or ./AutoClicker-Intel

xattr -d com.apple.quarantine ./AutoClicker
./AutoClicker

When you're prompted by macOS, go to System Settings > Privacy & Security > Accessibility
and enable your Terminal app (or AutoClicker) so it can listen for and simulate mouse clicks.

Windows

Requires Windows 10 or Windows 11 (64-bit).

NOTE: Windows Defender SmartScreen may flag newly compiled executables
as unrecognized apps because they do not use a paid code-signing certificate.

  • Via File Explorer: Double click the AutoClicker-Windows executable.
  • Via PowerShell: Unblock the downloaded file and run it:
Unblock-File -Path .\AutoClicker-Windows.exe
.\AutoClicker-Windows.exe

If Windows displays a security prompt, verify that the file came from the project's Releases page.
If all checks out, go to More info > Run anyway. Follow any additional instructions included with that release.

Linux

Requires a modern 64-bit (x86_64) Linux distribution running glibc 2.39 or newer
(such as Ubuntu 24.04+, Fedora 40+, Debian 13+, or Linux Mint 22+) using an X11 desktop session.

NOTE: Wayland desktop sessions restrict global mouse input simulation.
If clicks do not register, switch to an X11/Xorg session at your login screen.

  • Via Files: Double click the AutoClicker-Linux executable (if supported by your file manager).
  • Via Terminal: If needed, make the build runnable:
chmod +x ./AutoClicker-Linux
./AutoClicker-Linux

The required mouse input permissions and any system-specific dependencies may vary by Linux distribution and desktop session.
Check the release notes if the program does not start or cannot access mouse input.


How to Use

  1. Select Mouse Button: Enter 1 (Left), 2 (Right), or 3 (Middle) for the button you want the script to click.
  2. Select Button Held: Enter 1, 2, or 3 for the mouse button you will hold down to activate the auto-clicker.

    NOTE: Please avoid setting the target button and the trigger button to the same input,
    because simulated clicks can interfere with the hold listener.

  3. Set CPS: Enter your desired Clicks Per Second (e.g., 10 or 20.5).
  4. Start Clicking: Hold down your chosen mouse button to begin auto-clicking, and release it to stop.
  5. Stop Auto Clicking: Press Ctrl + C in the Terminal window to kill the program.

About

Lightweight Python CLI AutoClicker that triggers automated mouse clicks at a custom speed when you begin holding down your designated mouse button.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages