Format: ExecuteCmd [command ;]
Sends the given command to the shell as a command. (The parameter must end with a semicolon `;'.) The command uses the current selection in the editor as stdin, and replaces that selection with stdout. If nothing is selected, the output from the command is inserted into the open file after the cursor's current position. If no parameters are specified for this command, it opens a dialog box that prompts you for a command to execute.
In the following command, the special macro sequence %FILE is replaced by the current file name. Thus, you could implement a PRINT button with the following commands:
If there is a current selection, then it sends to the command as standard input. Any output from the command replaces the selection. The following macro sequences are recognized:
%FILE: Replaced with the name of the current open file.
%SEL: Replaced with current selection.
%LINE: Replaced with current line number.
%COMMENTS: Replaced with text from a dialog box that prompts for input.