## [Tools] Menu

### Script Console

#### Using the Script Console

##### Scripting Settings

The Script Console dialog appears.

1. Select [Tools] in the menu bar and then select [Script Console] from the drop down menu.

   The Script List dialog appears.

2. Click the icon.

3. Select a scripting language from the list at the top of the Script Console dialog.

   The script editor pane displays initialization code for the selected scripting language. You should write your scripting code after the initialization code.

   Before running a script, it is necessary to install the script language.

#### Loading a Script

You can load a script from a file.

1. Click [Load].

   The Select a file dialog appears.

2. Select a script file and click [Open].

   The selected script is loaded into the script editor pane.

#### Saving a Script

You can save a script to a file.

1. Click [Save] or [Save as...].

   If [Save] is used and the script already has a filename, it will be saved to the same filename. Otherwise the Save As dialog appears. If [Save As...] is used, the Save As dialog always appears.

2. Specify a script filename and click [Save].

   The script is saved to the specified filename.

#### Running a Script

You can run the script currently displayed in the script editor pane.

1. Click [Run].

   The output from the script is displayed in the script output pane.