A high-performance Windows autoclicker built with Python. Uses direct Windows API calls via ctypes to achieve 1,000-3,000+ clicks per second with no third-party clicking libraries required.
- Windows 10 / 11
- Python 3.6+
- No admin rights required
python autoclicker_gui.pyDouble-click build.bat and the finished executable will be at:
dist\AutoClicker.exe
No Python installation needed to run the .exe.
| Element | Description |
|---|---|
| CPS display | Live clicks-per-second readout, updates 10x per second |
| Total clicks | Running total since last reset |
| START / STOP button | Toggles clicking on/off, turns red while active |
| Reset Counter | Resets the total click counter to zero |
| Status bar | Green = running, grey = stopped |
| Key | Action |
|---|---|
F6 |
Start / Stop clicking |
F7 |
Quit the application |
Hotkeys work globally, even when the AutoClicker window is not focused.
autoclicker_gui.py # Main application (GUI + click engine)
package.bat # One-click build script -> dist\AutoClicker.exe
- Calls
SendInputdirectly via the Windows API, the lowest-overhead clicking method available without a kernel driver - Mouse down + up are sent in a single
SendInput(2, ...)call (one syscall per click) - Input structs are pre-allocated at startup and reused every iteration, with zero allocation overhead in the hot loop
- The click engine runs on a dedicated thread, keeping the GUI fully responsive
build.bat runs the following command:
python -m PyInstaller autoclicker_gui.py --onefile --noconsole --name AutoClicker --clean| Flag | Effect |
|---|---|
--onefile |
Bundles everything into a single portable .exe |
--noconsole |
No terminal window appears when launched |
--clean |
Clears PyInstaller cache before building |
Build output is in the dist\ folder. The build\ folder and AutoClicker.spec file are intermediates and can be deleted after building.
- The AutoClicker window stays always on top so it remains visible while clicking in other applications.
- Actual CPS depends on your CPU speed and Windows scheduler, with a typical range of 1,000-3,000 clicks/sec.
- Some anti-cheat systems may detect high-frequency
SendInputcalls. Use responsibly.