Versions Compared

Key

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

Click Tools > Script Editor… to open the Script Editor window as shown below, or click the (blue star) script icon in the toolbar.

...

The Script Editor will be empty when first opened. Click on the + icons at the top-left corner of the window, then click either Create New Script or Create New Action Command(s) to begin creating a script.

...

...

Item

Description

(blue star)

Adds a new script. If

Image Added

Create New Script is clicked, the : Edit Script pop-up window will appear allowing script name, running type, running period to be configured. If

Create New Action Commands(s) is clicked, the Action 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.

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

.