Skip to main content

Paste the contents of the clipboard or a file to the cursor after a specified delay

Project description

autotyper

A simple command line tool to write the contents of the clipboard or a file to the cursor after a delay of few seconds. It uses the pyautogui package to simulate the keystrokes to write out the file where the cursor is placed.

Installation

Make sure you have Python3 installed on your system.

pip install autotyper

You will have the autotyper command available to go on your system.

Usage

Write file/clipboard content on cursor

optional arguments:
  -h, --help   show this help message and exit

clipboard:
  --clipboard  copy from clipboard flag

file:
  -f FILE      input file path, not required for clipboard mode
  -d DELAY     delay in sec before writing to the cursor
$ autotyper -f bubblesort.c -d 10
Writing file content to cursor in 10 sec...

In this time, position your cursor to where you want to type out the text, when the delay ends, the content of the file will be written to the cursor. Can be used in online exams to write the content of a file, where copy paste is not allowed in the text box.

$ autotyper --clipboard -d 10
Writing clipboard content to cursor in 10 sec...

The content of your clipboard will be pasted on the cursor after the specified delay

License

Copyright (c) Junaid H. Rahim. All rights reserved. Licensed under the MIT License

forthebadge

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

autotyper-2.0.1.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

autotyper-2.0.1-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file autotyper-2.0.1.tar.gz.

File metadata

  • Download URL: autotyper-2.0.1.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.8.5 Linux/5.4.0-54-generic

File hashes

Hashes for autotyper-2.0.1.tar.gz
Algorithm Hash digest
SHA256 829a6a0e5b13885993cc9114de2a286f07cb69e35595ef8e95a49c2c0564d1a3
MD5 2fba6cc2bad9714f3bda0ac5360c5bdc
BLAKE2b-256 4c25a61b998e7c2db596dcbccebbcbbf070924799555eef1dbf72a9355d6842a

See more details on using hashes here.

File details

Details for the file autotyper-2.0.1-py3-none-any.whl.

File metadata

  • Download URL: autotyper-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.8.5 Linux/5.4.0-54-generic

File hashes

Hashes for autotyper-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5e2b5f550749ac64632780ae0d15e700af13a476d7dd1c32141d78ccbba85529
MD5 ba3dd862376b5c9c42ba44f77344d516
BLAKE2b-256 dee564c5b547d3c01e88e61fe33404539fb8992774c09dbbf62900e90faa0259

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page