A link to a placed file.
Go to Property Listing | Method Listing
checkIn, copyLink, editOriginal, extractLabel, getElements, insertLabel, relink, revealInBridge, revealInSystem, show, toSource, toSpecifier, unembed, unlink, update
Boolean, Date, EditingState, File, LinkMetadata, LinkStatus, Links, Number, Object, String, VersionState
|
Property |
Type |
Access |
Description |
|---|---|---|---|
|
readonly |
The asset etag of the linked object. |
||
|
readonly |
The asset ID of the linked object. |
||
|
readonly |
The asset URL of the linked object. |
||
|
readonly |
The date and time the Link was created. |
||
|
readonly |
If true, indicates the linked object has been edited in the current document but the source file has not been updated. |
||
|
readonly |
The Version Cue editing state of the file. |
||
|
readonly |
The file path (colon delimited on the Mac OS). Can also accept: File. |
||
|
readonly |
The unique ID of the Link. |
||
|
readonly |
The index of the link in the links collection. |
||
|
readonly |
Returns true if the object specifier resolves to valid objects. |
||
|
read/write |
A property that can be set to any string. |
||
|
readonly |
The file type of the linked object. |
||
|
readonly |
XMP data for the link source file. |
||
|
readonly |
A collection of links. |
||
|
readonly |
The name of the Link. |
||
|
readonly |
If true, indicates a link to a full-resolution version of the source file is needed. If false, indicates the object is embedded. |
||
|
readonly |
The linked object. Can return: Story, Graphic, Movie or Sound. |
||
|
read/write |
A property that allows setting of several properties at the same time. |
||
|
readonly |
The size of the Link file. |
||
|
readonly |
The status of the link. |
||
|
readonly |
The Version Cue version state of the file. |
undefined checkIn (versionComments:String, [forceSave:Boolean=Boolean])
Check in to Version Cue.
|
Parameter |
Type |
Description |
|---|---|---|
|
versionComments |
The comment for this version (Optional) |
|
|
forceSave |
Forcibly save a version (Optional) (default: false) |
undefined copyLink (to:File, versionComments:String, [forceSave:Boolean=Boolean])
Copies the link file to the specified location.
|
Parameter |
Type |
Description |
|---|---|---|
|
to |
The file or folder to which to copy the file. |
|
|
versionComments |
The comment for this version. (Optional) |
|
|
forceSave |
If true, forcibly saves a version. (Optional) (default: false) |
undefined editOriginal ()
Opens the source file of the link in the default editor for the source file type.
String extractLabel (key:String)
Gets the label value associated with the specified key.
|
Parameter |
Type |
Description |
|---|---|---|
|
key |
The key. |
Link getElements ()
Resolves the object specifier, creating an array of object references.
undefined insertLabel (key:String, value:String)
Sets the label to the value associated with the specified key.
undefined relink (to:Varies File String)
Points the link to a new source file.
|
Parameter |
Type |
Description |
|---|---|---|
|
to |
The full path name of the new source file. Can accept: File or String. |
undefined revealInBridge ()
Opens Adobe Bridge and selects the source file of the link.
undefined revealInSystem ()
Opens the file system to the folder that contains the source file of the link, and selects the file.
undefined show ()
Selects the link.
String toSource ()
Generates a string which, if executed, will return the Link.
String toSpecifier ()
Retrieves the object specifier.
undefined unembed (to:File, versionComments:String, [forceSave:Boolean=Boolean])
Unembeds the source file. If no folder is specified, creates a link to the original source file; if a folder is specified, copies the file to the folder and creates a link to the copied file.
|
Parameter |
Type |
Description |
|---|---|---|
|
to |
The folder to which to copy the unembedded file. (Optional) |
|
|
versionComments |
The comment for this version. (Optional) |
|
|
forceSave |
If true, forcibly saves a version. (Optional) (default: false) |
undefined unlink ()
Embeds the source file in the document.
Link update ()
Updates the link if the source file has been changed.