IntelliType
Automate the typing process
The goal of IntelliType is to help you automate text-based processes. Create your script and see how it is executed. Then make a recording for example with a program of your choice, without having to start all over again
Getting Started
Installation
To get started
- install python >=3
- install pip
pip install IntelliType
Usage
$>itt scirpt.yaml
The script
About YAML syntax for scripts
Script files use YAML syntax, and must have either a .yml or .yaml file extension. If you're new to YAML, see Learn YAML in five minutes.
scene
scene defines which program should be executed and allows to prepare a waiting time before the action starts
sections
sections defines what should be automated. You define your section names in a YAML-list, you can define them as you like! Each section defines control properties of the automation process. You can control the process with the following properties:
- keypseed: Controls the typing speed. Allowed values are Fast, MEDIUM, SLOW, HUMAN or a TIME.
- Text: The text to enter. In Yaml you can force line breaks with "|".
- cmd: Write a text with line break
- ctrl: Trigger control keys. For example Ctrl+c, ESC, Ctrl+Shift+t
- wait: Wait before the next section is executed
Sample
scene:
program: open -a Terminal "`pwd`"
wait: 13s
countdown: true
sections:
initial_vi:
- keyspeed: MEDIUM
- cmd: vi IntelliType.cpp
- ctrl: i
write_lorem_ipsum:
- keyspeed: FAST
- text: |
#include <iostream>
using namespace std;
int main(int argc,char**argv){
std::cout<<"Lorem ipsum dolor sit amet, consetetur sadipscing elitr,";
std::cout<<"sed diam nonumy eirmod tempor invidunt ut";
std::cout<<"labore et dolore magna aliquyam erat, sed diam voluptua. ";
return 0;
}
close_vi:
- ctrl: ESC
- wait: 1s
- cmd: ":q!"
Release files for IntelliType 0.4.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| IntelliType-0.4.5.tar.gz | 4.1 kB | Details |
Release files / IntelliType-0.4.5.tar.gz
| Download URL | IntelliType-0.4.5.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
560ce4846746af9da98f7d97801fbe671b4fad3e4f1f4f67cbd83d833bfe75e9
|
|
BLAKE2b-256 checksum How to use checksums |
9d71226377a8040ce8ad3ef45e2ae34006d3d0ed029b248437d52010fe667bf2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7
|