Event - Overview

Any object in a publication that can have actions added to it can use the Event functions listed below. These functions allow you to create a trigger from within a script rather than having to use the Triggers in an object’s Actions dialog.

You need to register the event handling process with an object so the object "accepts" the trigger event and has a function to call in response.

Note:

Browser objects are the only type of object that cannot use these Event functions.

Hierarchy:

Only the specific functions listed under the Functions: heading below can be used with Event objects:

Class Hierarchy:

Event

Hierarchy of objects in Opus

Functions:

RegisterEventHandler

Set a function to be called when a certain event triggers on the object.

TriggerComponentEvent

Activate a Custom Trigger for a specified object.

UnregisterEventHandler

Remove a previously registered event handler.