6.8. Configuration Object: Script Entry Point

(Script action only)

Important:
  • Nodes that have a script action cannot have children.
  • The script that is assigned to the node will be triggered when a user clicks the Navigation button or menu item during runtime.
  • If the bar style will be a Tree style, script node cannot be a Quick Launch button; it must be located in the tree.

Enter the script entry point in the Script entry point field.

  • Configuration: Script entry point.
  • Runtime examples: Script entry point.

Configuration: Script Entry Point

Runtime Examples: Script Entry Point

A Quick Launch button has been assigned a script action when the button is clicked it will trigger the script procedure that displays message boxes with selected system targets.

A script item has the following values.

Configuration Values
Button/Menu name TARGETS
Confirmation message Click to review targets
Script entry point Targets

The action is included in two different bar styles, as follows.

  • Standard bar style
  • Tree bar style

Standard Bar Style

A TARGETS Quick Launch button is configured for a Standard bar style.

During runtime, the following occurs.

A An operator clicks the button, TARGETS.
B A message box that displays the confirmation message opens.
C The operator clicks OK.
D The script procedure with the Targets entry point is triggered.

Tree Bar Style

The TARGETS menu item with the Targets script action is added as a child in a Tree Navigation bar.

During runtime the item displays in the configured position; the action is the same as it is for a Navigation button.