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

beginSuppressDialogs()

Begins suppression of script error dialog boxes in the user interface. Use endSuppressDialogs to resume the display of error dialogs.None.Nothing.

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