You are here: Core Reference > Coding > Scripting > Scripting Guide - Alarm Banner Functions (Alarm Banner Functions and Properties)

Alarm Banner Functions

You can use the Alarm Banner functions to add options and separator lines to the context-sensitive menu that is displayed when a user right-clicks on the Alarm Banner in ViewX.

The functions that you can use in your Alarm Banner scripts are:

You have to use the BuildAlarmMenu function in your script prior to using the AlarmBanner.AddMenuItem or AlarmBanner.AddMenuSeparator functions, otherwise your AlarmBanner functions will be ignored.

Each of the Alarm Banner functions references an Alarm Banner object which means that to reference them in your script, you need to use the following syntax:

AlarmBanner.<function name>


NOTE: The AlarmBanner object also has properties that can be referenced in your script (see Alarm Banner Properties).


ClearSCADA 2015 R2