https://github.com/dmotte/winautoclicker
🖱 Simple Auto-Clicker CLI application for Windows, written in C++
https://github.com/dmotte/winautoclicker
auto auto-clicker autoclicker c c-plus-plus cli clicker cpp exe interval millis milliseconds mingw portable time win windows
Last synced: 3 months ago
JSON representation
🖱 Simple Auto-Clicker CLI application for Windows, written in C++
- Host: GitHub
- URL: https://github.com/dmotte/winautoclicker
- Owner: dmotte
- License: mit
- Created: 2022-02-20T13:15:17.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-01-20T12:27:48.000Z (over 1 year ago)
- Last Synced: 2025-02-06T12:15:10.445Z (4 months ago)
- Topics: auto, auto-clicker, autoclicker, c, c-plus-plus, cli, clicker, cpp, exe, interval, millis, milliseconds, mingw, portable, time, win, windows
- Language: C++
- Homepage:
- Size: 3.91 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# winautoclicker
Simple **Auto-Clicker** CLI application for _Windows_, written in _C++_.
## Usage
To use this program, you just have to download the pre-compiled [exe file](https://github.com/dmotte/winautoclicker/releases/latest/download/clicker.exe) and run it on your PC.
The first CLI parameter is the **interval** (in milliseconds) between each click (default 1000).
```cmd
clicker.exe 3000
```:warning: **Warning**: do not set the interval parameter to extremely low values, as it can **freeze your PC** and you may not be able to close the application anymore.
## Compiling
> **Note**: this procedure has been tested on a fresh **Windows 10** installation.
If you want to compile the application yourself, you must have **MinGW** installed on your system. I suggest installing it via the [_Chocolatey_ package manager](https://chocolatey.org/install):
```cmd
choco install -y mingw
```Then compile the [`main.cpp`](main.cpp) file with the **G++** compiler:
```cmd
g++ main.cpp -static -o clicker.exe
```The result of the compilation is the `clicker.exe` executable file.