Skip to content

PluginItems

app.activeDocument.pluginItems

A collection of PluginItem objects in a document.

See Copying a plug-in item.


app.activeDocument.pluginItems.length

Number of elements in the collection.

Number; read-only.


app.activeDocument.pluginItems.parent

The object’s container.

Object; read-only.


app.activeDocument.pluginItems.typename

The class name of the object.

String; read-only.


app.activeDocument.pluginItems.getByName(name)

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

ParameterTypeDescription
nameStringName of element to get

PluginItem


app.activeDocument.pluginItems.index(itemKey)

Gets an element from the collection.

ParameterTypeDescription
itemKeyString, NumberString or number key

PluginItem


app.activeDocument.pluginItems.removeAll()

Deletes all elements in the collection.

Nothing.