PluginItems
PluginItems
Section titled “PluginItems”app.activeDocument.pluginItems
Description
Section titled “Description”A collection of PluginItem objects in a document.
Properties
Section titled “Properties”PluginItems.length
Section titled “PluginItems.length”app.activeDocument.pluginItems.length
Description
Section titled “Description”Number of elements in the collection.
Number; read-only.
PluginItems.parent
Section titled “PluginItems.parent”app.activeDocument.pluginItems.parent
Description
Section titled “Description”The object’s container.
Object; read-only.
PluginItems.typename
Section titled “PluginItems.typename”app.activeDocument.pluginItems.typename
Description
Section titled “Description”The class name of the object.
String; read-only.
Methods
Section titled “Methods”PluginItems.getByName()
Section titled “PluginItems.getByName()”app.activeDocument.pluginItems.getByName(name)
Description
Section titled “Description”Get the first element in the collection with the provided name.
Parameters
Section titled “Parameters”Parameter | Type | Description |
---|---|---|
name | String | Name of element to get |
Returns
Section titled “Returns”PluginItems.index()
Section titled “PluginItems.index()”app.activeDocument.pluginItems.index(itemKey)
Description
Section titled “Description”Gets an element from the collection.
Parameters
Section titled “Parameters”Parameter | Type | Description |
---|---|---|
itemKey | String, Number | String or number key |
Returns
Section titled “Returns”PluginItems.removeAll()
Section titled “PluginItems.removeAll()”app.activeDocument.pluginItems.removeAll()
Description
Section titled “Description”Deletes all elements in the collection.
Returns
Section titled “Returns”Nothing.