Click Tools > Script Editor… to open the Script Editor window as shown below, or click the script icon in the toolbar.
Item | Description |
| Adds a new script. Create New Script: Edit Script pop-up window will appear allowing script name, running type, running period to be configured. Create New Commands: Command Editor pop-up window will appear allowing scripting using commands. |
| Adds a new script folder. |
| Deletes the selected script or action list. |
| Allows the user to undo an action. |
| Allows the user to redo an action. |
| Copies the selected script or action list. |
| Pastes the previously copied/cut script or action list |
| Cuts the selected script or action list. |
| Compiles the selected script. The compiled result will appear on the field marked as [Build]. |
| Opens the ‘Find and Replace’ window. |
| Allows the user to import a previously saved script. |
| Saves the selected script to a user defined folder. |
To create a script, click the + icon at the window's top-left corner, then click Create New Script, and an Edit Script pop-up window will appear. Once the script configuration is complete, click OK to begin scripting.
Item | Description | |
Script Name | Allows the user to assign a name for the script. | |
Running Type | Manual | The selected script will only run when called. The script can be configured to operate on a schedule, on tag value change, on a button press, on a page open/close, etc. |
Startup | The selected script will run once the project file loads. | |
Periodic | The selected script will run periodically. | |
Running Period | Allows the user to define the interval between script executions. This option only applies to the ‘Periodic’ running type. |