Indesign Scripting Reference
home | search | Links
VBScript >> Asset

Asset

A library asset.

Asset Properties

Property Type Access Description
AssetType idAssetType enumeration r/w The type of the asset.
Date Date read Date and time.
Description String r/w Description.
Id Long read A unique number identifying the object.
Index Long read Index of the object within its parent object.
Label String r/w A label that can be set to any string.
Name String r/w The name of the object.
Parent Object read The parent of the object.

Asset Methods

Method Returns Description
Delete Nothing Deletes the object.
ExtractLabel String Gets the content of the label associated with the specified key (name).
InsertLabel Nothing Sets the content of the label associated with the specified key (name), creating the label if it does not already exist.
PlaceAsset Array of PageItems, Movies, Sounds, Images, EPSs, WMFs, PICTs or PDFs Place the asset in a document.