Adobe Photoshop CS3
JavaScript Scripting Reference
JavaScript Object Reference 137
Notifiers
The collection of
notifier
objects in the document; the
notifiers
property of the
app
object. See
‘Notifier’ on page 135
for information on
notifier
objects. See
notifiers
(in the Properties table of the
app
object).
In order to enable notifiers to run scripts
Note:
Because the
Notifiers
class is a property of the
Application
object, you use the property name,
notifiers
, rather than the class name,
Notifiers
, in your code. For example:
var notRef = app.notifiers.add(“OnClickGoButton”, eventFile)
The following sample uses the
Notifiers
object incorrectly:
var notRef = app.Notifiers.add(“OnClickGoButton”, eventFile)
Properties
Property
Value type
What it is
length
number (long)
Read-only. The number of elements in the
notifiers
collection.
parent
object
(
Application
)
Read-only. The
notifiers
object’s container
typename
string
Read-only. The class name of the referenced
notifiers
object.