Skip to content

App

App

App(
    version: str,
    build_number: int,
    project: Project,
    active_viewer: Viewer | None = None,
)

The App object represents the After Effects application. Attributes provide access to the project and application-level settings parsed from the binary file.

See: https://ae-scripting.docsforadobe.dev/general/application/

Attributes

active_viewer

active_viewer: Viewer | None = None

The Viewer object for the currently focused or active-focused viewer (Composition, Layer, or Footage) panel. Returns None if no viewers are open.

build_number

build_number: int

The build number of After Effects that last saved the project.

project

project: Project

The project that is currently loaded.

version

version: str

The version of After Effects that last saved the project, formatted as "{major}.{minor}x{build}" (e.g., "25.6x101").