Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Select [Tools] - [Script Editor] Click Tools > Script Editor… to open the [ Script Editor ] window as shown below, or press click the (blue star) icon.

...

The [Script Editor] will be empty when first opened. To begin creating scripts, use the icons in the top left corner of the window. script icon in the toolbar.

...

Item

Description

(blue star)

Adds a new script. The [Add Script] window will appear

Image Added

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.

(blue star)

Adds a new script folder.

(blue star)

Deletes the selected script or action list.

(blue star)

Allows the user to undo an action.

(blue star)

Allows the user to redo an action.

(blue star)

Copies the selected script or action list.

(blue star)

Pastes the previously copied/cut script or action list

(blue star)

Cuts the selected script or action list.

(blue star)

Compiles Validates the selected script. The compiled result Any errors will appear on the field marked as [Build]in the box at the bottom of the Script Editor window. Validation is not required, but is recommended.

(blue star)

Opens the ‘Find and Replace’ window.

(blue star)

Allows the user to import a previously saved script.

(blue star)

Saves the selected script to a user defined folder.

After pressing the (blue star) icon, the [Edit Script] window will open. From this menu, users can assign a name for the script, a running type, and a running period.

...

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

for

to the ‘Periodic’ running type

scripts

.