Indesign Scripting Reference
home | search | Links
JavaScript >> Assets

Assets

A collection of library assets.

Assets Properties

Property Type Access Description
item Object read Returns the asset with the specified index or name.
length Long read The number of assets in the collection.

Assets Methods

Method Returns Description
anyItem Object Returns any asset.
firstItem Object Returns the first asset.
itemByID Object Returns the asset with the specified ID.
itemByRange Objects Returns the asset within the specified range.
lastItem Object Returns the last asset.
middleItem Object Returns the middle asset.
nextItem Object Returns the next asset.
previousItem Object Returns the previous asset.