11.1.74    <MCREXEC>@

Description:   Execute a keymacro MACRO file.  Downloads the file if it does not exist or a newer version exists on SCADA node.

Syntax:         <MCREXEC>@ filename.mcr          

Argument:     file name, no spaces

See Also:       SCREXEC

 

Examples:      MCREXEC thankyou.mcr

If the keymacro file is not found on the client, it will be downloaded from the SCADA node.  If the <MCREXEC> is associated with the button down field, the keymacro file is executed as soon as the button is pressed down.  If the <MCREXEC> is associated with the button up, the keymacro file is executed as soon as the button is released.

The keymacro file can be multi-line and up to 1000 characters per line.  The Keymacro file is usually created using the keymacro file button in the graphics builder or from the menu bar (Tools->Macro file). 

Keymacros files are used for large series of commands to change displays, acknowledge alarms, call up dialog boxes and other "pushbutton" functions