nv1t / monkeyswithtypewriters

Autotype with for Strings and Files with the help of pynput

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

monkeyswithtypewriter

A utility for auto typing information into another window. No monkeys were harmed in making this tool.

  • be installed in venv/pipenv
  • be installed using setup.py
  • be runned directly from source directory if environment dependencies already satisfied

Table of Contents

Installation

Method 1. System-wide install

Run in project directory:

python3 -m pip install .

Package scripts shall be available in standard executable locations upon completion.

Method 2. Running from project directory

Installing dependencies:

python3 -m pip install -r requirements.txt

Now script can be run right from source directory.

Userland pip

Both previous methods can be run with --user option of pip installer. In this case superuser privileges are not required and package shall be installed to user home directory. So, for first method script executabled will appear in ~/.local/bin.

Tipp: Install from Github

You can install this as well in any virtualenv or system wide by using the git+https wrapper from pip

python -m pip install git+https://github.com/nv1t/monkeyswithtypewriters

Basic Usage

-> % monkeyswithtypewriters -h
usage: monkeyswithtypewriters [-h] [-t TIME] [-H] {file,string} payload

                        .="=.                .="=.
                      _/.-.-.\_     _      _/.-.-.\_     _
                     ( ( o o ) )    ))    ( ( o o ) )    ))
                      |/  "  \|    //      |/  "  \|    //
      .-------.        \'---'/    //        \'---'/    //
     _|~~ ~~  |_       /`"""`\\  ((         /`"""`\\  ((
   =(_|_______|_)=    / /_,_\ \\  \\       / /_,_\ \\  \\
     |:::::::::|      \_\\_'__/ \  ))      \_\\_'__/ \  ))
     |:::::::[]|       /`  /`~\  |//        /`  /`~\  |//
     |o=======.|      /   /    \  /        /   /    \  /
     `"""""""""`  ,--`,--'\/\    /     ,--`,--'\/\    /
                   '-- "--'  '--'       '-- "--'  '--' 

positional arguments:
  {file,string}         do you want to output a string, or read a file
  payload               String or Filepath

optional arguments:
  -h, --help            show this help message and exit
  -t TIME, --time TIME  Seconds to Wait until start typing
  -H, --human           Slows down the output to 1 char per 300ms

It should be pretty self explanatory :) The only weired feature is -H or --human which delays the output and types 1 character every 300ms (roughly). It tries to randomize the delay between 200ms and 400ms.

Known Bugs

  • It doesn't detect if the IDE, you are trying to autotype in, is doing some fancy auto completion stuff...it will completely break

About

Autotype with for Strings and Files with the help of pynput

License:MIT License


Languages

Language:Python 100.0%