An advanced, global hotkey-based auto-clicker that offers multiple customization options
- Globally Hooks Keyboard & Mouse
- Supports Left & Right click
- Single, Double, or Triple clicks
- CPS (Clicks Per Second) or Delay (ms) mode
- Toggle or Hold activation
- Safety Key – hold to temporarily pause auto-clicking
The easiest way to get started is to download the latest release from the releases page.
-
Global Hotkeys
- Bind any keyboard key (
F1..F12, letters, etc.) or mouse button (mouse4,mouse5,middle, etc.) to toggle or hold. - Works even if the auto-clicker’s window is minimized or unfocused.
- Bind any keyboard key (
-
Left & Right Click
- Separate configurations for left-click and right-click auto-clicking.
- Each can be toggled independently.
-
Click Type
- Single: 1 click per interval
- Double: 2 clicks per interval
- Triple: 3 clicks per interval
-
CPS or Delay
- CPS: for example, 10 means 10 clicks per second (0.1 seconds between clicks).
- Delay (ms): set an exact number of milliseconds between clicks (e.g.,
100 ms).
-
Toggle vs. Hold
- Toggle: Press/click your bind once to enable; press/click again to disable.
- Hold: Auto-click runs only while the bind is held down.
-
Safety Key
- If you hold down the chosen safety key (e.g.,
Alt), auto-clicking pauses until you release it.
- If you hold down the chosen safety key (e.g.,
-
Config Saved to AppData
- No clutter in the executable’s folder.
- Stored in
%APPDATA%\MyAutoClicker\config.yamlon Windows (or the equivalent~/.config/location if you adapt it to other platforms).
-
Instantly Saves Changes
- Changing any option in the GUI – or setting/clearing a bind – immediately updates
config.yaml.
- Changing any option in the GUI – or setting/clearing a bind – immediately updates
- Python 3.7+ (if you run from source).
- pip install the following:
pip install pynput pyyaml
- (Optional) PyInstaller if you want to build a single EXE:
pip install pyinstaller
Note: If you’re just using the provided
.exe(pre-built), you don’t need to install Python or these packages on your system. Everything is bundled.
- Clone or download this repository.
- Install the Python dependencies:
pip install pynput pyyaml
- Run:
python main.py
- On first run, the script creates
config.yamlin:(assuming Windows).C:\Users\%USERNAME%\AppData\Roaming\MyAutoClicker\config.yaml
- Double-click the
main.exe(or whichever name you gave it). - (Optional) Run as Administrator if you want to capture certain mouse buttons or do advanced hooking.
- The app loads/saves config in:
%APPDATA%\MyAutoClicker\config.yaml - No console window appears. Just the main GUI.
If you want to build your own executable (instead of using a pre-compiled version), follow these steps:
- Install PyInstaller:
pip install pyinstaller
- In the project folder, run:
pyinstaller --onefile --noconsole --icon=impl/icon.ico main.py
- Check the
dist/folder for your newmain.exe. - Distribute
main.exeto others.
-
config.yamlis automatically created/updated. Sample structure:left_click: mode: cps # or "delay" cps: 10 delay: 100 bind: mouse4 # or something like "f6", "a", "left"... click_type: single # or "double", "triple" activation: toggle # or "hold" right_click: mode: delay cps: 5 delay: 200 bind: mouse5 click_type: single activation: toggle safety_key: alt
-
No manual editing is typically necessary. Changes from the GUI instantly write to this YAML file.
- Administrator Privileges:
- Capturing global left/right mouse buttons sometimes requires running as Administrator on Windows or granting Accessibility on macOS.
- Ignore GUI Clicks:
- Clicks inside the GUI window (for pressing buttons, etc.) are ignored for toggling the auto-clicker.
- Set/Change/Remove Binds:
- Click “Set Bind” and press the desired key (e.g.,
F6) or mouse button (mouse4). - Click “Clear” to remove the current bind.
- Click “Set Bind” and press the desired key (e.g.,
- Bind Doesn’t Work:
- Try using a side mouse button (
mouse4/mouse5) or a keyboard key if left/right capture fails (OS restrictions). - Run as Administrator for advanced hooking.
- Try using a side mouse button (
- No
config.yaml:- The app should auto-generate
config.yamlin%APPDATA%\MyAutoClicker. If it doesn’t, ensure the path is valid and your environment variables are standard.
- The app should auto-generate
- Icon Not Displayed:
- Make sure
icon.icois valid and placed inimpl/icon.icoif you’re building from source with PyInstaller.
- Make sure
(Feel free to add any additional acknowledgments, special thanks, etc.)
