Limiting Events Generated By VBScript

The code that is executed in one event procedure can cause another event. In other words, one event can cause a chain reaction of other events that can make it difficult to limit the effects of the original event procedure. For example, the Document.MoveTo method can invoke the NewDocument events when the document is created in the destination folder. You might not want that to happen.

You can limit which events are generated by certain event procedures and avoid an event procedure intended for one purpose from being executed by actions for which it was not intended.

To limit the events generated by event procedures:

  1. In Configurator, expand Environment and select Application Link Settings.

    The settings for each link appear in property pages in the right pane.

  2. Click the Application Integration tab.

    The Application Integration settings page appears in the right pane.

  3. Click Edit.

  4. Locate the line that contains [ScriptEvents].

    This section of the configuration controls the events that are generated by VBScript event procedures. A number of settings are listed in this section that each control a group of events. Each setting is described in the comments that precede it.

  5. Read the comments for each setting and change the setting to Y (Yes) or N (No) to meet your needs.

  6. Click OK.

2022 R2