You are here: Core Reference > Coding > Scripting > Scripting Guide - Menu Functions

Menu Functions

Menu functions allow you to create context sensitive menus from scripts. You can use the functions to create a new menu, create options for a new menu and display a new menu. When the menu is displayed, the index number of the selected menu option is returned. This index number can then be used within your script when defining the action to be taken for the selected menu option. For example, if the menu option is to set the value of a point, you would use the menu functions to create the context sensitive menu and the options in the menu, but the actual functionality of the options would be defined later in the script (using other functions, such as Server Functions).

Menu functions are associated with the Menu object and are available for Mimic scripts and Alarm Banner scripts. For more information on the individual menu functions, refer to the following sections:


ClearSCADA 2015 R2