Notifiers

A collection of notifier objects in the document.

Methods:

add, removeAll, getByName, []

Property Listing

Property

Type

Access

Description

length

Int

readonly

Number of elements in the collection.

parent

 

readonly

The object's container.

typename

String

readonly

The class name of the object.

Method Listing

Notifier [] (index:Uint)

Get an element in the collection with the provided index.

Parameter

Type

Description

index

Uint

 

Notifier add (event:String, eventFile:File, [eventClass:String])

Creates a notifier.

Parameter

Type

Description

event

String

The class id of the event, four characters or a unique string.

eventFile

File

The script file to execute when the event occurs.

eventClass

String

The class of the object the event is applied to, four characters or a unique string. When an event applies to multiple types of objects, you use the event class parameter to distinguish which object this Notifier applies to. For example, the Make event (“Mk“) applies to documents (“Dcmn”), channels (“Chnl”) and other objects.

Notifier getByName (name:String)

Get the first element in the collection with the provided name.

Parameter

Type

Description

name

String

 

undefined removeAll ()

Deletes all elements.

Object of

Application.notifiers