3.1.1. Open a Script Editor
About this task
The buttons on the Scripts tab enable you to open a script editor to create a new script or modify an existing script.
- New script.
- Existing script.
- Duplicate script.
Note: All scripts that are listed for a class on the Scripts tab and in the Workbench Basic Control Engine>Scripts right pane will be included in the class if the class is exported/imported to another project. They are listed even if you cancelled creating them and/or did not compile them. You can delete any action by selecting an ID and clicking Delete.
Procedure
New Script
-
Click New on the Scripts tab in the Class dialog box.
The New Script Name dialog box displays.
-
Enter a unique name in the Script
field.
A Script name is
- Is up to 15 characters.
- Can have alphanumeric characters.
- Can have underscores.
- Cannot have spaces.
-
Select the type of script you want to create.
-
Click OK.
Result: A blank script editor opens.
Existing Script Properties
- Select an existing script.
-
Click Properties.
Result: A script editor with the existing script opens.
Duplicate Script
- Select an existing script.
-
Click Duplicate.
A New Script Name dialog box opens.
-
Enter a unique name for the script that adheres to the script ID requirements.
- Click OK.