PluginItems
PluginItems
Section titled “PluginItems”app.activeDocument.pluginItems
文档中的 PluginItem 对象集合。
参见 复制插件项。
PluginItems.length
Section titled “PluginItems.length”app.activeDocument.pluginItems.length
集合中的元素数量。
数字;只读。
PluginItems.parent
Section titled “PluginItems.parent”app.activeDocument.pluginItems.parent
对象的容器。
对象;只读。
PluginItems.typename
Section titled “PluginItems.typename”app.activeDocument.pluginItems.typename
对象的类名。
字符串;只读。
PluginItems.getByName()
Section titled “PluginItems.getByName()”app.activeDocument.pluginItems.getByName(name)
获取集合中具有指定名称的第一个元素。
参数 | 类型 | 描述 |
---|---|---|
name | 字符串 | 要获取的元素的名称 |
PluginItems.index()
Section titled “PluginItems.index()”app.activeDocument.pluginItems.index(itemKey)
从集合中获取一个元素。
参数 | 类型 | 描述 |
---|---|---|
itemKey | 字符串, 数字 | 字符串或数字键 |
PluginItems.removeAll()
Section titled “PluginItems.removeAll()”app.activeDocument.pluginItems.removeAll()
删除集合中的所有元素。
无。