The goal of IntelliType is to help you automate text-based processes
Project description
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!"
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 IntelliType-0.4.5.tar.gz.
File metadata
- Download URL: IntelliType-0.4.5.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
560ce4846746af9da98f7d97801fbe671b4fad3e4f1f4f67cbd83d833bfe75e9
|
|
| MD5 |
a97856bef16c8a79fdbc1c3ca54be02e
|
|
| BLAKE2b-256 |
9d71226377a8040ce8ad3ef45e2ae34006d3d0ed029b248437d52010fe667bf2
|