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-3.0.2.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

autotyper-3.0.2-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: autotyper-3.0.2.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-3.0.2.tar.gz
Algorithm Hash digest
SHA256 4334f42864027a5e4ffb4be6817436f409c933a37113aa472f6e177026d38fd6
MD5 05d3212f545759093429d56be9c88790
BLAKE2b-256 da259d855037ceaa5936d5d30caae588e00eab7853d0522637024861edaf2020

See more details on using hashes here.

File details

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

File metadata

  • Download URL: autotyper-3.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.4 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-3.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 32bbd80cce0e8428e723ad1926b1ffc84c1c921698de16e7f6f50711ecff8c0b
MD5 0b227ce20ae7eb29f8493787d20894fc
BLAKE2b-256 3997a3d842a5c6d7187764b536bb081c07f881f1a76685ba553d967ad148a332

See more details on using hashes here.

Supported by

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