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
- Host: GitHub
- URL: https://github.com/togglebyte/echo
- Owner: togglebyte
- Created: 2025-08-09T07:25:16.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-08-09T07:54:11.000Z (11 months ago)
- Last Synced: 2025-08-09T09:14:56.252Z (11 months ago)
- Language: Rust
- Size: 33.2 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 |`