Basic Operation

During an EnSight session, all actions are recorded and saved to a file known as the default command file. This file name typically starts with "ensight_ " and is saved in /usr/tmp on UNIX systems or C:\Documents and Settings\<user>\Local Settings\temp on Windows systems (unless you have redefined your TMPDIR environment variable). The default command file can be saved (and renamed) when exiting EnSight.

Recording Commands

To record a series of commands:

  1. Select File > Command... to open the Command dialog.

  2. Toggle the Record button on.

  3. A File Selection dialog opens. Select or enter the desired file to save commands to and click Save.

  4. When you wish to stop recording, toggle the Record button off.


Note:  As long as the record filename stays the same, the record button may be toggled on and off at any time, appending more commands to the file. When a new record file is selected, any existing commands in that file will be overwritten.


Playing a Command File

To replay a command file:

  1. Select FileCommand... to open the Command dialog.

  2. Click on the Browse button for the Load field.

  3. A File Selection dialog opens. Select the desired command file and click Save.

    The command file will be loaded and the commands to be executed will be shown in black below the green current line indicator in the History window.

  4. Toggle the Play button on.

    As commands are executed, they will be shown in gray above the current line.

    You can control command execution by pressing the VCR style buttons to: stop, start, and single step playback.

Playing a Command File on Startup

You can execute a command file as part of EnSight startup using the -p command_file option when you start EnSight. For example,

% ensight -p redo.enc

where redo.enc is a command file saved in a previous session.