id

A unique and persistent identification number used internally to identify an item between sessions. The value of the ID remains the same when the project is

effectsActive

True if the layer’s effects are active, as indicated by the icon next to it in the user interface.Boolean; read/write.

duplicate()

Duplicates the layer. Creates a new Layer object in which all values are the same as in this one. This has the same effect as selecting a layer in the user

close()

Closes the project with the option of saving changes automatically, prompting the user to save changes or closing without saving changes.closeOptions Action

name

The name of the output module, as shown in the user interface.String; read-only.

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

locked

When true, the mask is locked and cannot be edited in the user interface; otherwise, false.Boolean; read/write.

save()

Saves the project. The same as the File > Save or File > Save As command. If the project has never previously been saved and no file is specified, prompts t

typeName

A user-readable name for the item type; for example, Folder , Footage , or Composition .String; read-only.

saveWithDialog()

Shows the Save dialog box. The user can name a file with a location and save the project, or click Cancel to exit the dialog box.None.Boolean; true if the p