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

Checks if the macro state is set to Enabled.

 

If the Macro is Disabled

Checks if the macro state is set to Disabled.

 

If the Macro Exists

Checks if the selected macro is located on the computer.

 

If the Macro Does Not Exist

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.