COMMAND NAME:

        scriptmode

USAGE:
        scriptmode [- +] [<options>]

        The scriptmode command enables and disables script replay
and record options.

        - f flush  During record, each command is written to the disk
script file.  If disabled (default for better performance), Allegro
uses a memory buffer that is written to disk when full, or when the
script is terminated.

        - c continue  During replay, the script continues if an error
is encountered.  If disabled (default), the script terminates when
an error is encountered.

        - e echo  During replay, the script echos the command to the
appropriate window before executing the command.  If disabled (default),
no echo is performed.

        - i invisible  During replay, forms are not displayed.  A
message is echoed to the top window with a multiline status area
every time an invisible form window is created.  When the script is
finished, Allegro displays all remaining invisible forms.  You cannot
create an invisible form when not in a script.  Disabling the invisible
option in scripts does not cause the display of any currently invisible
forms, but will cause any form in the future to be displayed.  Use
this option on well debugged script files to increase performance.

        - s step  During replay, the script stops after every command
and waits for you to press a mouse button or a key before executing
the next command.  When this option is enabled, a window appears in
the center of the screen to remind you that the script will stop after
every command.

        If you execute the scriptmode command without specifying
one or more options, Allegro displays the options that are currently
set.  Options that are modified in a script are restored to their
original values when the script is complete.

EXAMPLE:

        scriptmode -a -f +e

        RELATED COMMANDS:

        record
replay
stop
