Adobe Photoshop CS5 Object Library JS: Notifier

Photoshop CS5

Class

Notifier

 An event-handler object that tells the script to execute specified code when a specified event occurs. For notifiers to work, they must be enabled. See the 'notifiers enabled' property of the Application object. Events that occur within scripts do not generally trigger notifiers, because they occur inside of a "play script" event.

QuickLinks

remove, removeAll

Hierarchy

Object
Notifier

Properties

PropertyTypeAccessDescription
eventstring readonlyThe event ID in four characters or a unique string that the notifier is associated with.
eventClassstring readonlyThe class ID associated with the event for the Notifier object, four characters or a unique string.
eventFileFile readonlyThe path to the file to execute when the event occurs/activates the notifier.
parentObject readonlyThe object's container.
typenamestring readonlyThe class name of the object.

Methods

Instances

void remove ()
Deletes this object.

void removeAll ()
Deletes all elements.

Return

Notifier Notifiers.[] (index: uint)

Notifier Notifiers.add (event: string, eventFile: File[, eventClass: string])

Notifier Notifiers.getByName (name: string)

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