Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Manufacturing Execution System 2023 R2

Execute() method

  • Last UpdatedNov 26, 2024
  • 1 minute read

Use the Execute() method to start an external application specified in the commandInfo parameter. If the underlying control contains a grid and a row is selected in the grid, the method can pass information from the selected row to the external application. The method can also be used to pass global information to the external application.

This method is available by means of the Button Bar control and allows the Execute function to be accessed in a context where a Button Bar control does not exist.

For example, to place the Utilization control in a form that contains a menu, but does not contain the Button Bar control, the method can be called by a script with corresponding menu options.

For information about how to pass global information or information from the selected row in a grid, see Passing information with the ButtonBar Execute() and LaunchBrowser() methods.

Syntax

Execute(commandInfo);

Parameter

commandInfo

A string that specifies the application being launched and any command-line information needed by the application.

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in