End Program
Stops the entire workflow early and treats the run as successful. Stops the entire program successfully, including from nested inline bodies. Following statements are skipped, accumulated actions are committed, and normal file/runtime finalization still runs. The block emits no message or log by itself. Stops the entire workflow successfully, whether it appears at the top level or inside an if, loop, or another inline statement body. It is not break or continue: no later inline statement, loop iteration, or top-level next block runs. Already accumulated Premiere actions commit normally in both SAFE_AUTO_COMMIT and MANUAL_GROUPED, including the current grouped segment. Normal runtime finalization still runs, including flushing buffered file writes. The block itself emits no alert, log, or summary. Put an explicit uiShowMessage or esConsoleLog before it when the workflow should explain why it ended. Use fail instead when the detected state is an actual error. fail still terminates with an error status.
Inputs
This block has no named inputs.
Notes
- Stops the entire workflow successfully, whether it appears at the top level or inside an
if, loop, or another inline statement body. - It is not
breakorcontinue: no later inline statement, loop iteration, or top-levelnextblock runs. - Already accumulated Premiere actions commit normally in both
SAFE_AUTO_COMMITandMANUAL_GROUPED, including the current grouped segment. - Normal runtime finalization still runs, including flushing buffered file writes.
- The block itself emits no alert, log, or summary. Put an explicit
uiShowMessageoresConsoleLogbefore it when the workflow should explain why it ended. - Use
failinstead when the detected state is an actual error.failstill terminates with an error status.
Examples
Render Active-Sequence Frames At Equal Distances To Fixed Folder
Exports a small evenly spaced set of `.png` frames across the active sequence to a fixed folder path, so visual timeline sampling can be runtime-validated deterministically.
Topics: frame export, visual probing, timeline sampling, runtime validation
Source: patterns/ex-sequence-render-active-sequence-frames-equal-distances-fixed-folder.json
Import YouTube Chapter Text As Sequence Markers
Prompts for a pasted chapter block or a text file, optionally clears existing active-sequence markers, then imports YouTube-style chapter lines as sequence markers.
Topics: markers, YouTube chapters, text import, file dialogs, multiline prompts, marker comments
Source: recipes/ex-markers-import-youtube-chapter-text-as-sequence-markers.json
Experimental Whole-Transcript JSON Proofread Shape
Demonstrates the safe bounded askAgent handoff pattern: export, structured Workflow AI call, schema validation, confirmation, and import. The whole-Premiere-transcript-JSON proofreading roundtrip is experimental and is not a recommended production proofreading workflow.
Topics: workflow ai, askAgent, structured output, transcript, transcript proofreading, experimental
Source: recipes/ex-semantic-proofread-selected-clip-transcript-with-workflow-ai.json