If
Runs the first branch whose condition evaluates to true, with an optional else body when no branch matches. Each entry in branches contains one condition/body pair. elseBody, if present, runs only when none of the branch conditions match.
Inputs
| Input | Required | Value Kind | Types | Enum Values |
|---|---|---|---|---|
branches | yes | array | — | — |
elseBody | no | array | — | — |
Notes
No additional notes are available yet.
Examples
Export Sequence Markers To SRT
Prompts for the subtitle text source first, then exports active-sequence markers to an `.srt` file while skipping empty resolved text and zero-duration markers.
Topics: markers, subtitles, SRT export, save dialogs, marker comments
Source: recipes/ex-markers-export-active-sequence-to-srt.json
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
Render Frames At Sequence Markers To Fixed Folder
Exports one `.png` frame per active-sequence marker to a fixed folder path, so marker-driven still export can be runtime-validated deterministically.
Topics: markers, frame export, review stills, runtime validation
Source: patterns/ex-markers-render-active-sequence-frames-fixed-folder.json