TConsoleScripterMachine Class
A virtual machine for console applications: ShowMessage, InputQuery and MessageBox calls in scripts write to and read from the console.
Remarks
On Windows it is the default machine class of console applications, so they run scripts without a ScripterInit unit. On other platforms, set DefaultMachineClass to TConsoleScripterMachine to use it.
InputQuery shows the initial value between brackets, and an empty line keeps it.
MessageBox writes the text and returns IDOK, whatever the buttons asked for.
Syntax
Unit: atScript
TConsoleScripterMachine = class(TBaseScripterMachine);