2010

Table Of Contents
You have successfully loaded and used the makeRoll procedure. Now, youll
link the procedure to a user interface.
Loading a script file
You can read and edit script files other people have created in the Script Editor.
In this section, you open a script that contains a completed user interface for
the makeRoll procedure. However, the user interface is only a layout, and does
not contain any functionality.
To prepare to open the script
1 In the Script Editor, ensure that Command > Show Line Numbers is
checked.
When Show Line Numbers is on, line numbers appear beside the
commands in the Script Editor. The lesson occasionally refers to line
numbers to tell you where to make a modification to the script. When
line numbers are referred to in the lesson, they are always the line
numbers of the original script.
2 Create a new tab in the Script Editor by selecting Command > New Tab.
A pop-up window asks you in which language should the commands
entered in this tab execute in.
3 Click the MEL button on the pop-up window.
You created a second MEL tab in the Script Editor.
4 Select Command > Rename Tab.
5 Enter MEL2.
The tab is renamed.
Loading a script file | 691