Skip to content

Marker

MarkerValue

MarkerValue(
    chapter: str,
    comment: str,
    cue_point_name: str,
    duration: float,
    frame_duration: int,
    frame_target: str,
    frame_time: int,
    label: Label,
    navigation: bool,
    params: dict[str, str],
    protected_region: bool,
    url: str,
)

The MarkerValue object represents a layer or composition marker, which associates a comment, and optionally a chapter reference point, Web-page link, or Flash Video cue point with a particular point in a layer.

See: https://ae-scripting.docsforadobe.dev/other/markervalue/

Attributes

chapter

chapter: str

A text chapter link for this marker. Chapter links initiate a jump to a chapter in a QuickTime movie or in other formats that support chapter marks.

comment

comment: str

A text comment for this marker. This comment appears in the Timeline panel next to the layer marker.

cue_point_name

cue_point_name: str

The Flash Video cue point name, as shown in the Marker dialog box.

duration

duration: float

The marker's duration, in seconds.

event_cue_point

event_cue_point: bool = field(init=False)

When True, the FlashVideo cue point is for an event; otherwise, it is for navigation.

frame_duration

frame_duration: int

The marker's duration, in frames.

frame_target

frame_target: str

A text frame target for this marker. Together with the URL value, this targets a specific frame within a Web page.

frame_time

frame_time: int

The time of the marker, in frames.

label

label: Label

The label color. Colors are represented by their number (0 for None, or 1 to 16 for one of the preset colors in the Labels preferences).

navigation

navigation: bool

Whether the marker is a navigation marker.

params

params: dict[str, str]

Key-value pairs for Flash Video cue-point parameters.

protected_region

protected_region: bool

State of the Protected Region option in the Composition Marker dialog box. When True, the composition marker behaves as a protected region. Will also return True for protected region markers on nested composition layers, but is otherwise not applicable to layer markers.

url

url: str

A URL for this marker. This URL is an automatic link to a Web page.