Script

Syntax: script <filename>

The RasMol
script
command reads a set of RasMol commands sequentially from a
text file and executes them. This allows sequences of commonly used
commands to be stored and performed by single command. A RasMol script
file may contain a further script command up to a maximum "depth" of 10,
allowing compilicated sequences of actions to be executed. RasMol
ignores all characters after the first '#' character on each line
allowing the scripts to be annotated. Script files are often also
annotated using the RasMol
echo
command.

The most common way to generate a RasMol script file is to use the
write script
or
write rasmol
commands to output the sequence of commands that are needed to
regenerate the current view, representation and colouring of the
currently displayed molecule.