https://github.com/p0dalirius/autotype
A Python tool to simulate keyboard typing when copy-paste functionality is unavailable, with both CLI and GUI modes.
https://github.com/p0dalirius/autotype
automation autotype clipboard copy-paste
Last synced: about 2 months ago
JSON representation
A Python tool to simulate keyboard typing when copy-paste functionality is unavailable, with both CLI and GUI modes.
- Host: GitHub
- URL: https://github.com/p0dalirius/autotype
- Owner: p0dalirius
- Created: 2025-01-30T09:47:05.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-02-02T17:12:53.000Z (4 months ago)
- Last Synced: 2025-04-23T23:56:07.059Z (about 2 months ago)
- Topics: automation, autotype, clipboard, copy-paste
- Language: Python
- Homepage: https://podalirius.net
- Size: 58.6 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README

A Python tool to simulate keyboard typing when copy-paste functionality is unavailable, with both CLI and GUI modes.
![]()
![]()
![]()
## Features
- [x] Read text from a file or stdin in CLI mode
- [x] Read text from a text box or from a file in GUI mode
- [x] Customizable delay between each character
- [x] Customizable delay before starting
- [x] Prevents mental breakdowns when you have to retype things because of lack of copy-paste functionality## Overview
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 run
First, you need to install the requirements:
```bash
$ pip install -r requirements.txt
```Then, you can run the tool:
```bash
$ ./autotype.py --gui
```## Usage
```
$ ./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.
```## Demonstration
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:

## Contributing
Pull requests are welcome. Feel free to open an issue if you want to add other features.