resetCharStyle()

Restores the default text character characteristics in the Character panel.None.Nothing.

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,

consolidateFootage()

Consolidates all footage in the project. Same as the File > Consolidate All Footage command.None.Integer; the total number of footage items removed.

moveToBeginning()

Moves this layer to the topmost position of the layer stack the first layer .None.Nothing.

resetParagraphStyle()

Restores the default text paragraph characteristics in the Paragraph panel.None.Nothing.

endWatchFolder()

Ends Watch Folder mode.None.Nothing.See also Application watchFolder method Application parseSwatchFile method Application isWatchFolder attribute

removeUnusedFootage()

Removes unused footage from the project. Same as the File > Remove Unused Footage command.None.Integer; the total number of FootageItem objects removed.

guessAlphaMode()

Sets alphaMode, premulColor, and invertAlpha to the best estimates for this footage source. If hasAlpha is false, no change is made.None.Nothing.

setActive()

Moves the viewer panel to the front and places focus on it, making it active. Calling this method will set the viewerメs active attribute to true.None.Boolea

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