Script Editor Interface
Project Explorer pane
The Project Explorer Pane contains folders, most of which represent a different event that takes place during a session, such as Page created or Document stored. Scripts are associated with events, which control when they will be executed.
To enable or disable a script
- Right-click the script in the Project Explorer pane and select or clear Enabled. Disabled scripts will not run with the session.
This pane also contains a folder named References that stores all of the namespaces that are available to your script.
To add a reference
- Right-click on the folder and select Add Reference.
Script pane
In most cases, this pane appears in the center of the screen and will contain one or more tabs, each of which represents a different script that is currently open.
To open a script that you've created
- Expand its parent folder in the Project Explorer pane and double-click the script.
At the top of each script, there are two type/member drop-down lists, each of which enables you to jump to specific areas of your script. In most cases, the left box jumps to classes and the right box jumps to methods. You can access additional options by right-clicking in the Script pane, by using the toolbar buttons, or by selecting Edit from the menu bar (some of these options are covered in the Advanced Script Editor Options section).
Error List pane
After creating your script, you can check it for syntax errors.
To check for errors
- Select the Build option in the menu bar or toolbar or press F6.
If errors are found, they will be displayed in this pane. Keep in mind that building your script does not actually run it. To run your script, run a sample session with the script enabled.