The names and syntax of event procedures are predefined. You can edit only the body. A prototype of a procedure looks like the following example:
Sub DocGenericEvent_AfterPrint(Batch)
'Add your code here
End Sub
The names of event procedures include the event category and the event name. In the example above, the event category is DocGenericEvent and the event name is AfterPrint. With event procedure names standardized this way, you can easily identify the purpose of each procedure. You can view all of the Meridian event procedures with the Events and Procedures browser in the Meridian Enterprise Script Editor.
Note For brevity and readability, some of the event names in this guide show an asterisk * in the position of the procedure name that represents the event type. This means that there are separate Initialize, Before, After, and Terminate event procedures for the event, but they are all described in the same topic. For example, following are the event procedure names for the Print event:
In this guide, all four event procedures are described in the DocGenericEvent_*Print topic.
Related concepts
Understanding Meridian event procedures
Understanding the order of events
Related tasks
Creating and editing event procedures
Limiting events generated by VBScript
Related information