file

The ExtendScript File object for the file containing the project that is currently open.File object or null if project has not been saved; read-only.

file

The ExtendScript File object for the footage’s source file.If theFootageItem’smainSource is a FileSource, this is the same as FootageItem.mainSource.file.Ot

byName()

Returns the first topmost layer found in this collection with the specified name, or null if no layer with the given name is found.name A string containing

openInViewer()

Opens the footage in a Footage panel, and moves the Footage panel to front and gives it focus.NOTE: Missing and placeholder footage can be opened using this

addNull()

Creates a new null layer and adds the AVLayer object to this collection. This is the same as choosing Layer > New > Null object.duration Optional, the lengt

importFileWithDialog()

Shows an Import File dialog box. Same as the File > Import > File command.Array of Item objects created during import; or null if the user cancels the dialo

activeViewer

The Viewer object for the currently focused or active-focused viewer Composition, Layer, or Footage panel.Returns null if no viewers are open.Viewer object;

parentProperty

The property group that is the immediate parent of this property, or null if this PropertyBase is a layer.PropertyGroup object or null; read-only.

onError

The name of a callback function that is called when an error occurs. By creating a function and assigning it to this attribute, you can respond to errors sy

propertyGroup()

Gets the PropertyGroup object for an ancestor group of this property at a specified level of the parent-child hierarchy.countUp Optional. The number of leve