RoboDaemon 11 Documentation



Command Related Commands

 

!

Shell escape. Note that the exclamation point (sometimes called `bang' by hackers, must be followed by a blank.) The text following the exclamation point is executed by the UNIX shell.

 

buttonize

Takes a command and a string. Creates a command in the graphics user interface with the string as it's title. Clicking on the button executes the specified command (which can be a macro). The string is optional: if absent, the command itself is used as a title.

 

cmdpipe

?

 

cmdread

Takes a file name as an argument. Causes the named file to be opened and the text inside to be executed as if it were entered from the command-line interface.

Note that cmdread is implemented in a manner that precludes recursive use of command files (putting a cmdread command inside a command files executed using cmdread will probably cause robodaemon to act as if an EOF were typed when the innermost command file terminates.

 

define

Usage:

define macroname
macro body (many lines)
} <-- end of macro indicator

Define a multi-line macro. Useful especially with buttonize. Strings of the form $N (where N is a number from 1 to 9) refer to parameters. Strings of the form #xxx can be used to refer to the value of a variable named "xxx".

Related commands: one_line_define

 

macro

Lists currently defined macros. May have surprising results if no macros are defined yet.

 

one_line_define

Usage: one_line_define name
Command creates a macro with the specified name that is the equivalent of the listed commands. See define for more information on macros.



MRL Group, CIM, McGill University