Lokyr
Documentation

automation: what scripts and shortcuts ask of Lokyr

lokyr/automation · bundled · source · Since 1.6

The answers to what scripts and shortcuts of other apps ask of Lokyr: windows, tabs and splits opened, text sent to a pane, a command run, and the windows, tabs and panes listed, or a pane's text read once you allow it. Automation shows the scripts and the Shortcuts actions that use it.

What it answers

The question

The first time that an app sends Lokyr a request, of any kind, Lokyr asks you whether to allow that app to control it, on the window in front:

Lokyr tells apps apart by their code signature, remembers your answer for each app from one start to the next, and asks for each program that runs in one of its own terminals, an answer that holds in that terminal until its shell exits, and for a program of no app that it can name, such as one in tmux, an answer that holds until Lokyr quits. Allow an app to control Lokyr tells more.

Turning it off

Turn the plugin off, in the settings window's Plugins page or with enabled = false in [plugins.automation], and every request of a script or a shortcut fails, of a message that tells why.