Minimal, low-overhead Windows auto clicker written in modern C++ with Win32, DirectX 11, and Dear ImGui.
- Single Click Mode – Repeatedly clicks at the current cursor position
- Double Click Mode – Performs double-clicks at the current cursor position
- Multi Click Mode – Record and replay a sequence of click positions
- Customizable Interval – Set click interval from 1ms to any value with no upper limit
- Random Delay – Add randomization between clicks for more natural behavior
- Mouse Button Selection – Choose between Left, Right, or Middle mouse button
- Global Hotkey – Toggle clicking with F1-F12 keys (default F6)
- Import/Export – Save and load click position sequences as CSV files
- Dark/Light Theme – Modern UI with theme support matching Windows 11 style
- System Tray Integration – Minimize to tray, control via right-click menu
- Single Instance – Launching twice focuses the existing window instead of creating duplicates
- Low Resource Usage – Minimal CPU and RAM footprint (~5-10 MB)
- Windows 10/11
- MinGW-w64 (GCC compiler)
- Make utility
Easy Installation with Chocolatey:
choco install mingw make -y-
Clone this repository:
git clone https://github.com/ByDexterTR/AutoClicker.git cd AutoClicker -
Build the project:
make
Or use the build script:
./build.bat
-
Run the executable:
./build/AutoClicker.exe
make clean
make-
Select Click Mode:
- Single Click – Clicks once per interval at cursor position
- Double Click – Double-clicks per interval at cursor position
- Multi Click – Plays back recorded positions
-
Set Interval:
- Minimum: 1 ms
- Default: 100 ms
- No maximum limit
-
Start Clicking:
- Click "Start (F6)" button or press your hotkey
- Status changes to "RUNNING" (green)
- Press hotkey again or click "Stop (F6)" to stop
- Select "Multi Click" from Click Mode dropdown
- Click "Start Recording" button
- Click anywhere on screen to record positions
- Press your hotkey (e.g., F6) to stop recording
- Click "Start" to replay the recorded sequence
Manual Position Entry:
- Enter X and Y coordinates manually
- Click "Add" to append to the list
Import/Export:
- Click "Export" to save positions as CSV (x,y format)
- Click "Import" to load previously saved positions
Random Delay:
- Enable to add randomization between clicks
- Set Min and Max delay in milliseconds
- Makes clicking patterns less detectable
Hotkey Configuration:
- Choose any F1-F12 key as toggle hotkey
- Same key stops recording in Multi Click mode
System Tray:
- Enable "Minimize to Tray" to hide window
- Right-click tray icon for quick actions:
- Start/Stop clicking
- Show/Hide window
- Toggle theme
- Exit application
- Double-click tray icon to restore window
- Left – Default mouse button
- Right – Right-click automation
- Middle – Middle-click (scroll wheel)
- F6 (default) – Start/Stop clicking
- F6 (during recording) – Stop recording positions
- Any F1-F12 – Configurable toggle hotkey
x,y
100,200
350,450
720,1080
Simple comma-separated values with header row. Only position coordinates are saved.
- Install MinGW-w64 and add to PATH
- Restart terminal/PowerShell after installation
- Verify with:
g++ --versionandmake --version
- Install DirectX End-User Runtime
- Update graphics drivers
- Run AutoClicker as Administrator
- Set game to Windowed or Borderless Windowed mode
- Some anti-cheat systems may block input injection
- Check for missing DLL files
- Ensure Windows 10/11 (requires DirectX 11)
- Run from compiled executable, not source directory
AutoClicker/
├── src/
│ ├── main.cpp # Application entry point and UI
│ ├── AutoClicker.cpp # Clicking logic
│ ├── TrayIcon.cpp # System tray integration
│ ├── resource.rc # Windows resources
│ └── resource.h # Resource definitions
├── include/
│ ├── AutoClicker.h # AutoClicker class header
│ └── TrayIcon.h # TrayIcon class header
├── libs/
│ └── imgui/ # Dear ImGui library (vendored)
├── build/ # Compiled output
├── Makefile # Build configuration
└── README.md
The project uses a Makefile for compilation. The build process:
- Compiles Dear ImGui sources
- Compiles application source files
- Links against DirectX 11, DWM, and Windows libraries
- Embeds resources (icon, version info)
Manual build command:
g++ -std=c++17 -O2 -mwindows src/main.cpp src/AutoClicker.cpp src/TrayIcon.cpp \
libs/imgui/*.cpp libs/imgui/backends/imgui_impl_win32.cpp \
libs/imgui/backends/imgui_impl_dx11.cpp src/resource.rc \
-o build/AutoClicker.exe -Iinclude -Ilibs/imgui -Ilibs/imgui/backends \
-ld3d11 -ldwmapi -lgdi32 -lcomctl32- ImGui – Immediate mode GUI library (included)
- DirectX 11 – Graphics rendering
- Win32 API – Windows integration
- DWM API – Window chrome customization
All dependencies are either included or part of Windows SDK.
MIT License - Free to use, modify, and distribute.
Contributions are welcome! Please feel free to submit pull requests or open issues.
This tool is for automation of repetitive tasks. Use responsibly and in accordance with software terms of service. Some applications may prohibit automation tools.