Events are functions in a script file that are called by Opus at various times. There are three main classes of events:

With the exception of the legacy rename events (Rename_GetNewName and Rename_GetNewName2), all event functions have a single argument - an event-specific data object that's passed from Opus to the script each time the event is called. Each object contains properties (and sometimes methods) relevant to the event. The advantage of using a single object is that in the future additional properties can be added without changing the function signature of the event itself.