importAs

The type of object for which the imported file is to be the source. Before setting, use canImportAs to check that a given file can be imported as the source

moveBefore()

Moves this layer to a position immediately before above the specified layer.layer The target layer, a layer object in the same composition.Nothing.

ImportOptions object

The ImportOptions object encapsulates the options used to import a file with the Project.importFile methods.The constructor takes an optional parameter, an

newProject()

Creates a new project in After Effects, replicating the File > New > New Project menu command.If the current project has been edited, the user is prompted t

scheduleTask()

Schedules the specified JavaScript for delayed execution.stringToExecute A string containing JavaScript to be executed.delay A number of milliseconds to wai

close()

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

addProperty()

Creates and returns a PropertyBase object with the specified name, and adds it to this group.In general, you can only add properties to an indexed group a p