endUndoGroup()

Marks the end of an undo group begun with the app.beginUndoGroup method. You can use this method to place an end to an undo group in the middle of a script,

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;

Application object

Provides access to objects and application settings within the After Effects application. The single global object is always available by its name, app.Attr

project

The project that is currently loaded.Project object; read-only.

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

buildName

The name of the build of After Effects being run, used internally by Adobe for testing and troubleshooting.String; read-only.

open()

Opens a project.file Optional. An ExtendScript File object for the project file to open. If not supplied, the method prompts the user to select a project fi

buildNumber

The number of the build of After Effects being run, used internally by Adobe for testing and troubleshooting.Integer; read-only.

saveProjectOnCrash

When true the default , After Effects attempts to display a dialog box that allows you to save the current project if an error causes the application to qui