A simple C++ application for Windows that automates typing text into any active window. This tool is designed to take text input and simulate human typing, which can be useful for data entry, testing, or avoiding copy-paste detection.
- Types text from the console into another application window.
- Simulates human-like typing at a configurable speed.
- Automatically switches to the last active window to begin typing.
- Run the
AutoTextInput.exeexecutable. - A console window will appear asking you to "Paste words to type here:".
- Paste the text you want to automate and press Enter.
- The application will automatically switch to your last active window and begin typing the text.
- To type another block of text, paste the new text into the console and press Enter again.
- When you are finished, simply press Enter on an empty line in the console to exit.
This is a CMake project and can be built using any C++ compiler that supports C++17 and the Windows API.
- Clone the repository.
- Make sure you have a C++ compiler (like MSVC) and CMake installed.
- Generate the build files using CMake:
cmake -B build - Build the project:
cmake --build build - The executable will be located in the
build/directory.
- Fix the issue where the program does not exit correctly after the last paragraph is sent.
- Refactor the code to use a dedicated typing thread, allowing the main thread to handle a future UI and a keyboard listener.
- Implement a global hotkey to capture clipboard content and start typing immediately, removing the need for
Alt+Tab. - Create a graphical user interface (GUI) for easier interaction.
- Allow the program to run in the system tray for background access.