purge()

Purges unused data of the specified types from memory. Replicates the Purge options in the Edit menu.target The type of elements to purge from memory; a Pur

pauseWatchFolder()

Pauses or resumes the search of the target watch folder for items to render.pause True to pause, false to resume.Nothing.See also Application isWatchFolder

parseSwatchFile()

Loads color swatch data from an Adobe Swatch Exchange ASE file.file The file specification, an ExtendScript File object.The swatch data, in this format:data

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

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

endWatchFolder()

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

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,

endSuppressDialogs()

Ends the suppression of script error dialog boxes in the user interface. Error dialogs are displayed by default;call this method only if beginSuppressDialog

cancelTask()

Removes the specified task from the queue of tasks scheduled for delayed execution.task ID An integer that identifies the task, as returned by app. s che du

beginUndoGroup()

Marks the beginning of an undo group, which allows a script to logically group all of its actions as a single undoable action for use with the Edit > Undo/R