Creating macros - Security Center 5.9

Security Center Administrator Guide 5.9

Applies to
Security Center 5.9
Last updated
Content type
Guides > Administrator guides
Security Center

To create a macro that you can run in Security Center, you must write a C# program using an external text editor or the text editor in Config Tool, and then load the program in Security Center.

What you should know

Security Center prevents a macro that has errors from being saved. If a macro has errors, and you change tabs, it is rolled back to its last error free version.


  1. From the Config Tool home page, open the System task, and click the Macros view.
  2. Click Macro (), and enter the macro name.
  3. Click the Properties tab, and do one of the following:
    • To import the source code from a file, click Import from file, select the file containing the C# code, and then click Open.
    • Write your own program in the Properties tab.
  4. Click Apply.
  5. If you added input parameters to the program, click the Default execution context tab, and configure the settings.
  6. Click Apply.