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.
To create a macro:
-
From the Config
Tool home page, open
the System task, and click the Macros
view.
-
Click Macro (), and enter the macro name.
-
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.
-
Click Apply.
-
If you added input parameters to the program, click the Default
execution context tab, and configure the settings.
-
Click Apply.