A small utility that simulates user typing to aid file transcription in limited environments
Project description
A small utility that simulates user typing to aid plaintext file transcription in limited environments
Usage:
transcribe <file> [–interval=<time>] [–pause=<time>]
transcribe (–help | –version)
Options:
-i –interval=<time> Interval between keystrokes (in seconds). Typing too
quickly may break applications processing the
keystrokes. [default: 0.1]
-p –pause=<time> How long the script should wait before starting (in
seconds). Increase this if you need more time to enter
the typing field. [default: 5]
What it does
Sometimes you find yourself unable to copy text data into a field or application but with a keyboard you could type it all in by hand… what a hassle.
Let this do tedious work and avoid typos.
When you launch this script, you give it the location of a file and (optionally) a between-keystroke time interval to control the rate of typing. It will then ask you to press “Enter” when you are ready for it to begin typing. After a short pause (default is 5s), it will begin typing; use the pause time to enter the field for the text. To abort the typing in progress, click any mouse button.
More information
[docopt](https://github.com/docopt/docopt) is used for the commandline argument parsing. If you install by pip, this should install automatically if you do not already have it.
FileTranscriber relies on [PyUserInput](https://github.com/SavinaRoja/PyUserInput), which is a python module for cross-platform simulation and tracking of user input. This should also install automatically with pip if you do not already have it.
The dependencies for PyUserInput depend on your platform and will probably require manual installation, search for the versions appropriate for your computer and version of python:
Linux - Xlib
Mac - Quartz, AppKit
Windows - pywin32, pyHook
If you experience any problems with the use of this script or PyUserInput, please let me know. I would also appreciate helpful suggestions for improvement.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file FileTranscriber-0.2.0.tar.gz
.
File metadata
- Download URL: FileTranscriber-0.2.0.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f07acafbb91e66d16ac7781512d878112ab60ce7f5348d4fccf277f12d99f68b |
|
MD5 | 925ac03b7dae453a0b8b3fa5d7328ec2 |
|
BLAKE2b-256 | b6707c2864a736cc289e77d230541c69609cc649507c32601b3a3db8e14c9f43 |