Skip to content

A Python tool to simulate keyboard typing when copy-paste functionality is unavailable, with both CLI and GUI modes.

Notifications You must be signed in to change notification settings

p0dalirius/AutoType

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A Python tool to simulate keyboard typing when copy-paste functionality is unavailable, with both CLI and GUI modes.
GitHub release (latest by date) YouTube Channel Subscribers

Features

  • 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

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:

$ pip install -r requirements.txt

Then, you can run the tool:

$ ./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.

About

A Python tool to simulate keyboard typing when copy-paste functionality is unavailable, with both CLI and GUI modes.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages