Skip to content

Application

The Premiere Pro application object (app in ExtendScript).

Source code in src/py_premiere/models/application.py
class Application:
    """The Premiere Pro application object (`app` in ExtendScript)."""

    def __init__(self, project: Project) -> None:
        self._project = project

    @property
    def project(self) -> Project:
        """The active project. Read-only."""
        return self._project

    def __repr__(self) -> str:
        return f"Application({self._project!r})"

Attributes

project property

project

The active project. Read-only.

Methods:

__init__

__init__(project)
Source code in src/py_premiere/models/application.py
def __init__(self, project: Project) -> None:
    self._project = project

__repr__

__repr__()
Source code in src/py_premiere/models/application.py
def __repr__(self) -> str:
    return f"Application({self._project!r})"