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

comment

A string that holds a comment, up to 15,999 bytes in length after any encoding conversion. The comment is for the user’s purpose only; it has no effect on t

canSetEnabled

When true, you can set the enabled attribute value. Generally, this is true if the user interface displays an eyeball icon for this property; it is true for