{"id":31065033,"url":"https://github.com/h-d-owl/colorsearch","last_synced_at":"2026-05-19T10:01:44.964Z","repository":{"id":314257350,"uuid":"1033812934","full_name":"H-D-OWL/ColorSearch","owner":"H-D-OWL","description":"A WinAPI-based console application for detecting specific pixel colors on your screen and automating interactions. ","archived":false,"fork":false,"pushed_at":"2025-09-11T10:53:30.000Z","size":70,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-11T13:28:08.798Z","etag":null,"topics":["autoclick","automation","automation-tools","color-detection","console-app","cpp","game-automation","gui-automation","hooks","pet-project","pixelscan","screen-capture","screen-scraping","triggerbot","winapi","windows"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/H-D-OWL.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-07T11:37:56.000Z","updated_at":"2025-09-11T10:53:33.000Z","dependencies_parsed_at":"2025-09-15T03:17:56.034Z","dependency_job_id":null,"html_url":"https://github.com/H-D-OWL/ColorSearch","commit_stats":null,"previous_names":["h-d-owl/colorsearch"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/H-D-OWL/ColorSearch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/H-D-OWL%2FColorSearch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/H-D-OWL%2FColorSearch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/H-D-OWL%2FColorSearch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/H-D-OWL%2FColorSearch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/H-D-OWL","download_url":"https://codeload.github.com/H-D-OWL/ColorSearch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/H-D-OWL%2FColorSearch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275281956,"owners_count":25437090,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-15T02:00:09.272Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["autoclick","automation","automation-tools","color-detection","console-app","cpp","game-automation","gui-automation","hooks","pet-project","pixelscan","screen-capture","screen-scraping","triggerbot","winapi","windows"],"created_at":"2025-09-15T15:44:31.901Z","updated_at":"2025-09-15T15:44:34.201Z","avatar_url":"https://github.com/H-D-OWL.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ColorSearch\n\n\u003cp align=\"left\"\u003e\n  \n\u003ca href=\"https://github.com/H-D-OWL/ColorSearch/releases\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\n\u003cimg src=\"https://img.shields.io/github/v/release/H-D-OWL/ColorSearch?style=flat\u0026logo=github\u0026logoColor=white\" alt=\"Releases\" height=\"28\"/\u003e\n\n\u003ca href=\"https://github.com/H-D-OWL/ColorSearch/blob/master/LICENSE\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\n\u003cimg src=\"https://img.shields.io/badge/license-MIT-yellow.svg?style=flat\u0026logo=github\u0026logoColor=white\" alt=\"License\" height=\"28\"/\u003e\n  \n\u003c/p\u003e \n\n\u003ca id=\"description\"\u003e\u003c/a\u003e\n## Description\nA console application that uses WinAPI to determine specific colors of pixels on the screen and perform certain actions (moving the cursor to the found color, emulating pressing a specific key, and a combination of these actions).\n\n\u003ca id=\"demo\"\u003e\u003c/a\u003e\n## Demo\n\n\u003cdiv align=\"center\"\u003e\n\n![ColorSearchGame2](https://github.com/user-attachments/assets/3c9373bd-233d-40d8-a128-419bd5a7c9b4)\n\n![ColorSearchGame1](https://github.com/user-attachments/assets/e4c6a2ce-8df5-44a8-9e60-03a47571a101)\n  \n\u003c/div\u003e\n\n## Table of Contents\n- [Description](#description)\n- [Demo](#demo)\n- [Technologies used](#technologies-used)\n- [Requirements](#requirements)\n- [Compilation](#compilation)\n  - [Visual Studio](#visual-studio)\n  - [Command prompt](#command-prompt)\n- [Usage](#usage)\n- [Examples of use](#examples-of-use)\n- [Troubleshooting](#troubleshooting)\n- [Security and legal](#security-and-legal)\n- [Contribute](#contribute)\n- [Download](#download)\n\n\u003ca id=\"technologies-used\"\u003e\u003c/a\u003e\n### Technologies used \n\n* **WinAPI**;\n  \n* **GDI**;\n  \n* **System hooks**;\n \n* **Bitwise image analysis**;\n  \n* **Input emulation**;\n\n\u003ca id=\"requirements\"\u003e\u003c/a\u003e\n## Requirements\n\n- **OS:** Windows 10 / 11\n- **IDE / Build tools:** Visual Studio 2022 (or newer) with the **Desktop development with C++** workload installed\n  - Alternatively, `msbuild` available via **Developer Command Prompt for VS 2022**\n- **Permissions:** The program uses low-level hooks and input emulation. On some systems, you may need to run it as administrator.\n\n\u003ca id=\"compilation\"\u003e\u003c/a\u003e\n## Compilation\n\n\u003ca id=\"visual-studio\"\u003e\u003c/a\u003e\n### Visual Studio\n\n1. Open `ColorSearch.sln` in Visual Studio.\n\n2. Set Configuration to **Release** and Platform to **x64** (or **x86** depending on your Windows architecture).\n\n\u003cdiv align=\"center\"\u003e\n\u003cimg width=\"391\" height=\"40\" alt=\"Sprite-0001\" src=\"https://github.com/user-attachments/assets/c7fca819-7209-4baa-8757-3b5eb7555084\" /\u003e\n\u003c/div\u003e\n   \n3. Go to **Build → Build Solution** or press **Ctrl + Shift + B**.\n\n\u003cdiv align=\"center\"\u003e\n\u003cimg width=\"382\" height=\"51\" alt=\"изображение\" src=\"https://github.com/user-attachments/assets/40e2af33-ffca-4525-9907-ce3f9daae315\" /\u003e\n \u003c/div\u003e\n \n4. The executable will be located in the build output folder: ColorSearch\\x64\\Release\\ColorSearch.exe (x64) or ColorSearch\\Release\\ColorSearch.exe (x86).\n\n\u003ca id=\"command-prompt\"\u003e\u003c/a\u003e\n### Command prompt\n\n1. Open **Developer Command Prompt for VS 2022**\n\n2. Navigate to the project directory: **cd path\\to\\ColorSearch**. For example: cd C:\\Users\\User2\\Desktop\\ColorSearch\n\n3. Enter the command in the terminal: **msbuild ColorSearch.sln /p:Configuration=Release /p:Platform=x64** (or **/p:Platform=x86** depending on your Windows architecture)\n\n4. The executable will be located in the build output folder: ColorSearch\\x64\\Release\\ColorSearch.exe (x64) or ColorSearch\\Release\\ColorSearch.exe (x86).\n\n\u003ca id=\"usage\"\u003e\u003c/a\u003e\n## Usage\n\n1. Define the scanning area (Set two points between which there will be a rectangular scanning area):\n* To set a point, move the cursor to the desired location and press F1. The points should not be on the same line (horizontal or vertical).\n\n\u003cdiv align=\"center\"\u003e\n\u003cimg width=\"256\" height=\"106\" alt=\"Sprite-0003\" src=\"https://github.com/user-attachments/assets/ff3c454b-52d6-45e6-819b-b60ece6bb710\" /\u003e\n\u003c/div\u003e\n\n2. Define colors to search:\n\n* To set a color, hover over it and press F2. You must define at least 1 color. \n* To finish defining a color, press F3.\n\n\u003cdiv align=\"center\"\u003e\n\u003cimg width=\"246\" height=\"36\" alt=\"Sprite-0004\" src=\"https://github.com/user-attachments/assets/896c755e-afae-4ada-b31e-74782dd66b28\" /\u003e\n\u003c/div\u003e\n\n3. Set the colors scatter. The minimum spread is 0 and the maximum is 254.\n\n\u003cdiv align=\"center\"\u003e\n\u003cimg width=\"162\" height=\"22\" alt=\"Sprite-0005\" src=\"https://github.com/user-attachments/assets/3d30cd3a-47b7-4a9f-9806-c59f4dec569e\" /\u003e\n\u003c/div\u003e\n\n4. Select the action that will happen when detect color:\n   \n* F4: Move the cursor to the location of the detected color. \n* F5: Press the button you specified. \n* F6: Move the cursor to the location of the detected color and press the button you specified.\n\n  * If you selected: F5 or F6 actions (which use keystroke simulation), the next key you press (except F1 - F12) will become the key for simulation.\n\n\u003cdiv align=\"center\"\u003e\n\u003cimg width=\"534\" height=\"90\" alt=\"Sprite-0002\" src=\"https://github.com/user-attachments/assets/52d82206-7569-4c9c-9ae0-6d05c96e4723\" /\u003e\n\u003c/div\u003e\n\n5. Set the scan frequency (in seconds). Minimum frequency is 0.01.\n\n6. Press F7 to start/stop scanning. Press F8 to hide/show the program. Press F9 to stop the program (F1–F9 keystrokes are constantly monitored. You can start/stop scanning (and all other F1–F8 key actions) even if the program is not in focus or show.).\n\n\u003cdiv align=\"center\"\u003e\n\n![ColorSearch](https://github.com/user-attachments/assets/6a313158-9a57-4a93-892a-556e867bc6c5)\n  \n\u003c/div\u003e\n\n\u003ca id=\"examples-of-use\"\u003e\u003c/a\u003e\n## Examples of use\n\n* **Automation in games or apps**: Automatically perform a click or key press when a specific color appears on the screen—useful for fast or repetitive visual cues.\n\n* **Visual notifications**: Set the program to react when a visual indicator (color) appears—trigger actions such as cursor movement or button press automatically.\n\n\u003ca id=\"troubleshooting\"\u003e\u003c/a\u003e\n## Troubleshooting\nWhen you close the program you should hear a sound, otherwise make sure the program is not in Tack Manager-\u003eProcesses.\nIf an error occurs while working in the application (for example: Error: Failed to install key hook.)\n\n* Try running the application as an administrator.\n  \n* Add the program to the exceptions of the antivirus or antivirus software.\n\n\u003ca id=\"security-and-legal\"\u003e\u003c/a\u003e\n## Security and legal\n\nThis tool uses low-level interception and emulation of keyboard and mouse input. Using it with third-party software (including games) may result in blocking. **The author is not responsible for the illegal or incorrect use of the program.**\n\n\u003ca id=\"contribute\"\u003e\u003c/a\u003e\n## Contribute\n\n* Found a bug or want a new feature? Let me know via [Issues](https://github.com/H-D-OWL/ColorSearch/issues).\n\n\u003ca id=\"download\"\u003e\u003c/a\u003e\n## Download\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fh-d-owl%2Fcolorsearch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fh-d-owl%2Fcolorsearch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fh-d-owl%2Fcolorsearch/lists"}