The developer can make a macro containing one or more commands that can be placed in the macros menu or he can make a macro that can be started using the Run Macro command.

A macro procedure in order to define commands to be included in the macros menu must define a function that handles the following events:

OnMenu
OnMenuCommand
OnMenuUpdateCommand

A macro procedure that does not include a handling function for the previous three events can only be executed using the Run Macro command.

See also