If Macro
The If Macro command tests the status of a macro. It tests if the macro is enabled or disabled, or if the requested macro even exists.
Script Editor > Expand Logic Category > If Macro
Option
There are four options available.
If the Macro is Enabled
This option checks if the macro state is set to Enabled.
If the Macro is Disabled
This option checks if the macro state is set to Disabled.
If the Macro Exists
This option checks if the selected macro is located on the computer.
If the Macro Does Not Exist
This option determines if the macro is not found on the computer.
Macro Filename
Insert the name of the macro file (.mex file) that contains the macro to test. Or click on the Browse button to locate the macro file.
Macro Name
Insert the macro name or click on the Browse button to locate the name of the macro to test.