A Python tool to simulate keyboard typing when copy-paste functionality is unavailable, with both CLI and GUI modes.
- Read text from a file or stdin in CLI mode
- Read text from a text box or from a file in GUI mode
- Customizable delay between each character
- Customizable delay before starting
- Prevents mental breakdowns when you have to retype things because of lack of copy-paste functionality
AutoType is a multi-purpose tool designed to simulate keyboard typing when traditional copy-paste functionality is unavailable or restricted.
It's particularly useful in environments like Citrix, Apache Guacamole, VNC, or RDP sessions where clipboard access is limited or disabled. Instead of manually typing long sequences of text, commands, or code, AutoType can automatically type the content for you with customizable timing and delays.
This makes it invaluable for system administrators, developers, and IT professionals who are on the verge of a mental breakdown having to retype things because of lack of copy-paste functionality.
The tool provides both a command-line interface and a user-friendly GUI, allowing you to easily input text across system boundaries while maintaining precise control over the typing speed and timing.
First, you need to install the requirements:
$ pip install -r requirements.txt
Then, you can run the tool:
$ ./autotype.py --gui
$ ./autotype.py -h
usage: autotype.py [-h] (--stdin | --file INPUT_FILE | --gui) [--delay DELAY] [--interval INTERVAL]
AutoType, a Python tool to simulate keyboard typing when copy-paste functionality is unavailable, with both CLI and GUI modes.
options:
-h, --help show this help message and exit
--stdin Read input from stdin.
--file INPUT_FILE Read input from a file.
--gui Start GUI mode.
Options:
--delay DELAY Delay before starting to type in seconds.
--interval INTERVAL Interval between each character in milliseconds.
The graphical interface provides an intuitive way to load text from files or type directly in the text box, with configurable delay and typing speed settings:
Pull requests are welcome. Feel free to open an issue if you want to add other features.