Create a macro

Use the
Macros
editor to create a macro. The file is saved with the extension
.mcr
. The default path is
C:\Users\Public\Documents\RSView Enterprise\SE\HMI projects\<HMI project name>\Mcr
.
TIP:
You can create macros using any Windows text editor that can produce ASCII text files.
To create a macro:
  1. In
    FactoryTalk View Studio
    , in the Explorer windows, navigate to
    Logic and Control
    , right-click
    Macros
    and select
    New
    .
  2. In the
    Macros
    editing window, type the commands and parameters that specify what the macro will do when it runs.
  3. When finished, from the menu, select
    File
    >
    Save
    .
    TIP:
    If the macro name conflicts with commands or symbols, the command or symbol will run rather than the macro.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal