A simple GUI auto-clicker that finds and clicks on-screen images.
- Modern GUI: A clean, intuitive interface built with CustomTkinter, featuring collapsible sections for settings to save space.
- Global Stop Hotkey: Stop the script at any time by pressing a configurable key (default:
Esc), even when the application window is not in focus. - Resettable Settings: Each setting can be individually reverted to its default value with a single click.
- Selectable Search Area: Scan the entire screen or select a specific region with your mouse to increase performance and accuracy.
- Dynamic Image Loading: Automatically loads all
.png,.jpg, and.jpegimages from theimgfolder. - Customizable Mouse Movement: Choose between "Smooth" movement (human-like) or "Instant" clicks.
- External Configuration: All settings are saved in a
config.inifile for easy modification. - Multi-Language Support: Switch between English and Russian.
- Robust Logging: Keeps a detailed log of all actions and errors in
Image-auto-clicker.log.
The application operates in a simple loop:
- Takes a screenshot of the specified screen area.
- Compares the screenshot with the image templates loaded from the
imgfolder. - If a match is found with a high enough confidence level, it moves the mouse to the center of the image and clicks.
You can either download the ready-to-use application or run it from the source code.
No installation or Python required.
- Go to the Releases Page.
- Download the latest
.ziparchive. - Unzip the archive to any folder.
- Run the
ImageAutoClicker.exefile.
This method requires Python and dependencies to be installed.
-
Prerequisites:
- Python 3.7+
-
Clone the repository:
git clone https://github.com/1Stalk/Image-Auto-Clicker-GUI.git cd Image-Auto-Clicker-GUI -
Install dependencies: It's highly recommended to use a virtual environment.
python -m venv venv venv\Scripts\activate
pip install -r requirements.txt
-
Run the application:
python Image-Auto-Clicker.py
- Add Images: Place the images you want the script to find into the
imgfolder. The app will create this folder on first launch if it doesn't exist. - Launch the App: Run the
.exeor the Python script. - Select Area (Optional): Click the "Select Area" button to draw a rectangle on the screen. The search will be confined to this area. Click "Reset" to go back to full-screen search.
- Configure Settings:
- Click on the "General Settings" or "Mouse Movement" headers to expand the sections.
- Adjust any values as needed. If you want to revert a change, click the "⟲" button that appears next to the modified field.
- Start Clicking: Press the "Start" button to begin the automation.
- Stop Clicking: Press the "Stop" button in the app or press your configured Stop Key (e.g.,
Esc) at any time to halt the process.
If you want to build the executable (.exe) yourself, follow these steps:
- Complete the setup for "Running from Source" (clone the repo, install dependencies).
- Install PyInstaller:
pip install pyinstaller
- Run the build command from the root directory of the project:
pyinstaller --name ImageAutoClicker --windowed Image-Auto-Clicker.py
- Your finished executable will be located in the
dist/ImageAutoClickerfolder.
The application automatically creates a config.ini file to store your settings. You can edit it manually if needed.
| Parameter | Description | Default Value |
|---|---|---|
image_folder |
The folder where your template images are stored. | img |
threshold |
The confidence level for a match (0.1 to 1.0). Higher is stricter. | 0.8 |
post_click_delay |
The delay (in seconds) after a successful click before searching again. | 2.6 |
idle_delay |
The delay (in seconds) between searches when no image is found. | 0.5 |
language |
The default language for the interface (en or ru). |
en |
stop_key |
The global hotkey to stop the script (e.g., esc, f12). |
esc |
This project was inspired by the simple and effective command-line script created by 2cz5. The core image recognition logic is based on their original work.
This project is licensed under the MIT License - see the LICENSE file for details.
Русская версия (Russian Version)
Простой GUI-автокликер, который находит и нажимает на изображения на экране.
- GUI: Чистый, интуитивно понятный интерфейс на CustomTkinter со сворачиваемыми секциями настроек для экономии места.
- Глобальная клавиша остановки: Останавливайте скрипт в любой момент нажатием настроенной клавиши (по умолчанию:
Esc), даже если окно программы неактивно. - Сбрасываемые настройки: Каждую настройку можно мгновенно вернуть к значению по умолчанию одним кликом.
- Выбор области поиска: Сканируйте весь экран или выделите определенную область мышью, чтобы повысить производительность и точность.
- Динамическая загрузка изображений: Автоматически загружает все изображения (
.png,.jpg,.jpeg) из папкиimg. - Настраиваемое движение мыши: Выбирайте между "Плавным" (имитация человека) и "Мгновенным" перемещением.
- Внешний файл конфигурации: Все настройки сохраняются в
config.iniдля удобного редактирования. - Поддержка нескольких языков: Переключайтесь между английским и русским языком.
- Детальное логирование: Ведет журнал всех действий и ошибок в файле
Image-auto-clicker.log.
Приложение работает в простом цикле:
- Делает скриншот указанной области экрана.
- Сравнивает скриншот с шаблонами изображений, загруженными из папки
img. - Если совпадение найдено с достаточным уровнем точности, перемещает курсор в центр изображения и выполняет клик.
Вы можете скачать готовую программу или запустить ее из исходного кода.
Не требует установки Python и зависимостей.
- Перейдите на страницу релизов.
- Скачайте последнюю версию архива
.zip. - Распакуйте архив в любую папку.
- Запустите файл
ImageAutoClicker.exe.
Этот способ требует установленного Python и зависимостей.
-
Требования:
- Python 3.7+
-
Клонируйте репозиторий:
git clone https://github.com/1Stalk/Image-Auto-Clicker-GUI.git cd Image-Auto-Clicker-GUI -
Установите зависимости: Настоятельно рекомендуется использовать виртуальное окружение.
python -m venv venv venv\Scripts\activate
pip install -r requirements.txt
-
Запустите приложение:
python Image-Auto-Clicker.py
- Добавьте изображения: Поместите изображения, которые должен находить скрипт, в папку
img. Программа создаст эту папку при первом запуске, если она отсутствует. - Запустите приложение: Запустите
.exeфайл или Python-скрипт. - Выберите область (необязательно): Нажмите кнопку "Выбрать область", чтобы нарисовать прямоугольник на экране. Поиск будет ограничен этой областью. Нажмите "Сбросить", чтобы вернуться к поиску по всему экрану.
- Настройте параметры:
- Нажмите на заголовки "Основные настройки" или "Перемещение мыши", чтобы раскрыть секции.
- Отрегулируйте значения. Если вы хотите отменить изменение, нажмите на кнопку "⟲", которая появится рядом с измененным полем.
- Начните работу: Нажмите кнопку "Старт", чтобы запустить автоматизацию.
- Остановите работу: Нажмите кнопку "Стоп" в приложении или используйте вашу клавишу остановки (например,
Esc) в любой момент, чтобы прервать процесс.
Если вы хотите самостоятельно собрать исполняемый файл (.exe), выполните следующие шаги:
- Выполните подготовку для "Запуска из исходного кода" (клонируйте репозиторий, установите зависимости).
- Установите PyInstaller:
pip install pyinstaller
- Выполните команду для сборки из корневой папки проекта:
pyinstaller --name ImageAutoClicker --windowed Image-Auto-Clicker.py
- Готовый исполняемый файл будет находиться в папке
dist/ImageAutoClicker.
Приложение автоматически создает файл config.ini для хранения ваших настроек. При необходимости вы можете редактировать его вручную.
| Параметр | Описание | Значение по умолчанию |
|---|---|---|
image_folder |
Папка, в которой хранятся ваши изображения-шаблоны. | img |
threshold |
Уровень уверенности для совпадения (от 0.1 до 1.0). Чем выше, тем строже. | 0.8 |
post_click_delay |
Задержка (в секундах) после успешного клика перед следующим поиском. | 2.6 |
idle_delay |
Задержка (в секундах) между циклами поиска, когда изображение не найдено. | 0.5 |
language |
Язык интерфейса по умолчанию (en или ru). |
en |
stop_key |
Глобальная клавиша для остановки скрипта (например, esc, f12). |
esc |
Этот проект был вдохновлен простым и эффективным консольным скриптом от пользователя 2cz5. Базовая логика поиска изображений основана на его первоначальной работе.
Этот проект распространяется под лицензией MIT - подробности смотрите в файле LICENSE.

