An open API service indexing awesome lists of open source software.

https://github.com/togglebyte/echo

Text playback with script
https://github.com/togglebyte/echo

Last synced: 11 months ago
JSON representation

Text playback with script

Awesome Lists containing this project

README

          

# Parrot

Script and playback of text with syntax highlighting.

## Commands

## Load

Load a file into memory

Syntax: `load as `

## Delete

Delete selected region

Syntax: `delete`

## Goto

Move the cursor to a marker if a marker named is given, or to a position
relative to the current cursor. The position is given as `row` then `col`.

Syntax: `goto | `

## Insert

Insert either a string or content from memory.

Syntax: `insert |` or `insert `

## Select

Select the text from the current cursor position to a marker if a marker named is given, or to a relative position.
The position is given as `width` and `height`.

Syntax: `select | `

## Type

Type out the given text in the editor.

Syntax: `type |`

## TypeNl

Type the given text in the editor, unlike the `type` command this will insert a
newline character and move the cursor into the new empty line and start the
typing.
This has a more natural appearance when inserting new lines into existing code.

Syntax: `typenl |`
or optionally to remove the final trailing newline character:
Syntax: `typenl | nonl`

## Wait / Sleep

Wait N seconds before loading the next command.
`sleep` is an alias for `wait`

Syntax: `wait `

## Speed

Set the speed for which commands are executed / content is typed

Syntax: `speed `

## Line pause

Set the speed for which to wait after each newline char is typed

Syntax: `linepause `

## Replace

Selects, deletes and replaces the text.

Syntax: `replace |`