Types text into the currently focused text field using keyboard simulation.
Run the app on your local PC; it sends key presses to whatever window has focus (e.g. Notepad, browser, or remote desktop).
- Typing speed – Characters per minute (30–600).
- Ready time – Countdown in seconds before typing starts (time to focus the target field).
- Start – Begin after ready time; types into the focused element.
- Pause / Resume – Temporarily pause and continue.
- Stop – Stop typing immediately.
- Scroll – Scroll up or down with configurable interval and amount; Start scroll / Stop scroll (mouse wheel at cursor position).
cd d:\Project\autotyping
pip install -r requirements.txtpython autotyping.pyTo create a single AutoTyping.exe you can run without Python installed:
-
Install build dependency:
pip install pyinstaller -
From the project folder run:
pyinstaller --noconfirm autotyping.spec
Or double‑click build.bat (runs the same steps).
-
The executable is created at dist\AutoTyping.exe. Copy that file (and run it) on any Windows PC; no Python needed.
Note: Build on Windows so the Windows SendInput (RDP) module is included. For RDP, you may need to run the exe as Administrator.
If you get "PermissionError" or "file in use" during build: Close any other PyInstaller/build windows, then run build.bat again (it deletes build and dist first). Or manually delete the build and dist folders and run pyinstaller --noconfirm autotyping.spec again.
- Enter the text to type in the text area.
- Set Typing speed (chars/min) and Ready time (seconds).
- Click Start.
- During the countdown, click into the target field (e.g. on the remote desktop) so it’s focused.
- Typing will start automatically after the countdown.
On Windows, use the "Windows SendInput (RDP)" backend (default). It simulates real keyboard events with scan codes and attaches to the foreground window, so keys go to the RDP client when it has focus.
- Select "Windows SendInput (RDP)" (Windows only).
- Check "Minimize during countdown" so the app minimizes and you can click inside the RDP window.
- Click Start, then click inside the remote desktop (e.g. in a text field) before the countdown ends.
- If keys still don’t reach the remote session, run the app as Administrator (right‑click
autotyping.py→ Run as administrator).
Alternative: keyboard backend – try if Windows SendInput doesn’t work in your setup.
Most reliable: run the app on the remote PC (inside the RDP session). Copy the project to the remote machine, run python autotyping.py there, and use PyAutoGUI. Typing will go to whatever is focused on the remote desktop.
- The app uses keyboard simulation (key press/release), not paste.
- PyAutoGUI backend: best when the app runs on the same machine as the target (e.g. run on remote PC for RDP).
- keyboard backend: try this when the app runs on your local PC and you want to type into an RDP window.