Running Scripts

Scripts can be executed by clicking Run.

The Run button applies to the active script. If multiple scripts are loaded, the active script is displayed on top and its name is displayed in black, as shown in Figure 1.



Figure 1.

Run an Entire Script

  1. From the toolbar, click to run the script in the Editor.
    Tip: You can also execute a script with the shortcut Ctrl+E, or by right-clicking in the Editor and selecting Run File.


    Figure 2.

Run a Partial Script

You can also execute portions of a script, rather than the entire script.

  1. From the Editor, select a portion of the script, right-click, and press Run Selection. This executes only the line(s) selected.
    Tip: You can also execute part of a script with the shortcut Ctrl+R, or by right-clicking in the Editor and selecting Run Selection.


    Figure 3.