Adobe Photoshop CS5 Object Library JS: Notifiers

Photoshop CS5

Class

Notifiers

 A collection of notifier objects in the document.

See also Notifier.

QuickLinks

[], add, getByName, removeAll

Hierarchy

Object
Notifiers

Properties

PropertyTypeAccessDescription
lengthint readonlyNumber of elements in the collection.
parentObject readonlyThe object's container.
typenamestring readonlyThe class name of the object.

Methods

Instances

Notifier [] (index: uint)
Get an element in the collection with the provided index.

ParameterTypeDescription
indexuint

Notifier add (event: string, eventFile: File[, eventClass: string])
Creates a notifier.

ParameterTypeDescription
eventstringThe class id of the event, four characters or a unique string.
eventFileFileThe script file to execute when the event occurs.
eventClassstringThe 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. (Optional)

Notifier getByName (name: string)
Get the first element in the collection with the provided name.

ParameterTypeDescription
namestring

void removeAll ()
Deletes all elements.

Element of

Application.notifiers

Jongware, 28-Aug-2012 v3.0.3iContents :: Index