Examples
This page is generated from the shared example catalog in docs/source/examples/manifest.json.
Currently included in docs: 48 example(s).
Patterns
Apply One Audio Effect On An Isolated Sequence
Apply One Audio Effect On An Isolated Sequence
Creates a fresh sequence from one source item, applies one audio effect to the first audio clip, and verifies that the component count increases by one.
Topics: effects and component parameters, audio
Source: patterns/ex-audio-effect-apply-on-isolated-sequence.json
Apply One Transition On An Isolated Sequence
Apply One Transition On An Isolated Sequence
Creates a fresh sequence from one source item, applies a single-sided transition to the first clip, and verifies that one transition item was added.
Topics: transitions, track item mutation
Source: patterns/ex-transition-apply-single-sided-on-isolated-sequence.json
Apply One Video Effect On An Isolated Sequence
Apply One Video Effect On An Isolated Sequence
Creates a fresh sequence from one source item, applies one video effect to the first clip, and verifies that the component count increases by one.
Topics: effects and component parameters, track item mutation
Source: patterns/ex-video-effect-apply-on-isolated-sequence.json
Build A Prompt Dialog
Build A Prompt Dialog
Shows how to build a multi-field dialog from several `UI Prompt Field` values and one `UI Prompt Form` block.
Topics: dialogs, user input
Source: patterns/ex-ui-build-prompt-form.json
Copy File Into Created Folder
Copy File Into Created Folder
Builds a sibling destination folder and file path, creates the folder, then copies the file into it.
Topics: files, path handling
Source: patterns/ex-files-copy-into-created-folder.json
Create Empty Sequence Matching Selected Item And Place It
Create Empty Sequence Matching Selected Item And Place It
Creates an empty sequence whose settings match the first selected project item, stores the returned sequence ref, then places the item explicitly into that sequence.
Topics: sequence creation, project inspection, timeline placement, matched sequence settings
Source: patterns/ex-sequence-create-matching-item-and-place.json
Create Sequence And Reuse Its Ref
Create Sequence And Reuse Its Ref
Creates a sequence, stores the returned sequence ref, then uses that ref in a later read.
Topics: sequence creation
Source: patterns/ex-sequence-create-store-ref.json
Create Sequence From Local .sqpreset Path
Create Sequence From Local `.sqpreset` Path
Creates a sequence from a fixed local `.sqpreset` path. This stays visible as the canonical local-path counterpart to the portable embedded-preset example, and its runtime check confirms that the unusual 2000x1000 frame size really came from the preset.
Topics: sequence creation, presets, runtime validation
Source: patterns/ex-sequence-create-from-preset-fixed-path.json
Create Sequence From Selected Item And Place Into It
Create Sequence From Selected Item And Place Into It
Creates a sequence from the first selected project item, then uses the stored sequence ref for a follow-up placement.
Topics: sequence creation, project inspection, timeline placement
Source: patterns/ex-sequence-create-from-selected-and-place.json
Export Spreadsheet With Save Dialog
Export Spreadsheet With Save Dialog
Uses `saveFileDialog` with supported spreadsheet suffixes, writes a header row, then appends data rows.
Topics: spreadsheet export, save dialogs
Source: patterns/ex-spreadsheet-export-with-save-dialog.json
Flush Buffered File Write With Sleep
Flush Buffered File Write With Sleep
Writes a text file into the runtime buffer, then uses sleep as a zero-delay sync point to flush buffered file writes before continuing.
Topics: files, synchronization
Source: patterns/ex-files-flush-buffered-write-with-sleep.json
Import Local Media File Into Project
Import Local Media File Into Project
Imports a fixed local media file into the current Premiere project with `avoidDuplicates=true`. This stays visible as the canonical local-path counterpart to the portable embedded-media ABSCRIPT example.
Topics: project import, embedded assets, runtime validation
Source: patterns/ex-project-import-local-media-file.json
Insert Local MOGRT Into Active Sequence
Insert Local MOGRT Into Active Sequence
Minimal API pattern for placing a local `.mogrt` file into the active sequence. This stays visible as the canonical local-path counterpart to the portable embedded-MOGRT ABSCRIPT example.
Topics: motion graphics templates, timeline placement
Source: patterns/ex-sequence-insert-local-mogrt.json
Iterate All Video Tracks
Iterate All Video Tracks
Iterates all video tracks in the active sequence and collects their names.
Topics: track iteration, sequence inspection
Source: patterns/ex-tracks-iterate-active-video.json
Iterate Clips In V1
Iterate Clips In V1
Resolves V1 and loops over all clip items on that track.
Topics: track iteration, clip iteration
Source: patterns/ex-track-items-iterate-v1-clips.json
List Selected Project Items
List Selected Project Items
Minimal pattern for reading selected project items and counting them.
Topics: project inspection, selection
Source: patterns/ex-project-items-list-selected.json
List Sequence Markers
List Sequence Markers
Loops over sequence markers on the active sequence and collects their names.
Topics: markers, sequence inspection
Source: patterns/ex-markers-list-active-sequence.json
Mutate And Restore One Project Item
Mutate And Restore One Project Item
Renames and relabels the source project item, then restores both properties so the fixture remains clean.
Topics: project items, metadata mutation
Source: patterns/ex-project-item-mutate-and-restore.json
Mutate One Track Item On An Isolated Sequence
Mutate One Track Item On An Isolated Sequence
Creates a fresh sequence from one source item, renames, disables, moves, and clones the first clip, then verifies each observable mutation.
Topics: track items, timeline mutation
Source: patterns/ex-track-item-mutate-on-isolated-sequence.json
Place Multiple Source Ranges From One Clip
Place Multiple Source Ranges From One Clip
Creates an empty sequence, then fills it with three explicit source ranges from one clip while verifying the original project-item in/out gets restored afterward.
Topics: timeline placement, source range placement, sequence creation
Source: patterns/ex-sequence-place-multiple-source-ranges-from-one-clip.json
Read Active Sequence Summary
Read Active Sequence Summary
Reads the active sequence name and video track count.
Topics: sequence inspection
Source: patterns/ex-sequence-read-active-summary.json
Rename File By Changing Extension
Rename File By Changing Extension
Builds a new leaf name from the original file name without extension, then renames the file inside its current parent folder.
Topics: files, path handling
Source: patterns/ex-files-rename-by-changing-extension.json
Render Active Sequence With Preset
Render Active Sequence With Preset
Builds an explicit output path from a preset-derived extension, then renders the active sequence directly.
Topics: rendering and export, sequence export, presets
Source: patterns/ex-sequence-render-active-with-preset.json
Render Active-Sequence Frames At Equal Distances To Fixed Folder
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
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
Set One Component Parameter
Set One Component Parameter
Resolves a component and parameter, then writes a new value.
Topics: effects and component parameters
Source: patterns/ex-component-param-set-opacity.json
Set Project Item In/Out Then Place It
Set Project Item In/Out Then Place It
Sets a clip project item's source in/out, places it into a new sequence without explicit source-range overrides, then verifies that placement used the current project-item range.
Topics: timeline placement, project item properties, source range placement
Source: patterns/ex-sequence-set-project-item-in-out-and-place.json
Traverse Nested Sequences With Deduped Worklist
Traverse Nested Sequences With Deduped Worklist
Traverses the active sequence and nested sequences through a pending/seen worklist so nested sequence refs are not processed twice.
Topics: sequence traversal, nested sequences, clip iteration, lists
Source: patterns/ex-sequence-traverse-nested-deduped.json
Write Text File At Fixed Path
Write Text File At Fixed Path
Writes a short text file with `append=false` and `flushNow=true`, then reads it back to verify the exact content.
Topics: files, text output
Source: patterns/ex-files-write-text-file-fixed-path.json
Recipes
Export Sequence Markers To SRT
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
Export Sequence Markers To YouTube Chapter Text
Export Sequence Markers To YouTube Chapter Text
Prompts for the chapter title source and output mode, then exports active-sequence markers as YouTube chapter lines to the clipboard or a `.txt` file while skipping empty resolved text.
Topics: markers, YouTube chapters, text export, clipboard workflows, save dialogs, marker comments
Source: recipes/ex-markers-export-active-sequence-to-youtube-chapter-text.json
Export Transcript And Reference Frame
Export Transcript And Reference Frame
Creates a temporary sequence from the first selected project item, waits briefly, exports transcript JSON if available, and writes one reference frame for visual verification.
Topics: semantic probing, transcript, frame export, visual verification
Source: recipes/ex-semantic-export-transcript-and-reference-frame.json
Import SRT As Sequence Markers
Import SRT As Sequence Markers
Prompts for marker text-target options, optionally clears existing active-sequence markers, then imports subtitle entries from an `.srt` file as sequence markers.
Topics: markers, subtitles, SRT import, file dialogs, marker comments
Source: recipes/ex-markers-import-srt-as-sequence-markers.json
Import YouTube Chapter Text As Sequence Markers
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
Prepare Selected Clip Transcript After Sequence Placement
Prepare Selected Clip Transcript After Sequence Placement
Creates a temporary sequence from the first selected project item, waits briefly, then exports the clip transcript JSON to a deterministic file path.
Topics: semantic probing, transcript, sequence placement, transcript readiness
Source: recipes/ex-semantic-export-transcript-after-sequence-placement.json
Render Frames At Sequence Markers
Render Frames At Sequence Markers
Prompts for an output folder, then exports one `.png` still image per active-sequence marker at the sequence's native frame size.
Topics: markers, frame export, review stills, folder dialogs
Source: recipes/ex-markers-render-active-sequence-frames.json
Render Marker Ranges With Export Preset
Render Marker Ranges With Export Preset
Prompts for an `.epr` preset and an output folder, then renders one file per non-zero-duration active-sequence marker by setting sequence in/out and exporting that range.
Topics: markers, rendering and export, sequence export, presets, file dialogs, folder dialogs
Source: recipes/ex-markers-render-active-sequence-ranges-with-preset.json
Probes
Probe Active Sequence Time Settings
Probe Active Sequence Time Settings
Logs the active sequence timebase, display formats, frame rate, sample rate, zero point, and player position.
Topics: time and timecode, sequence metadata, discovery probes
Source: probes/ex-time-sequence-settings-audit.json
Probe Basic Transcript Readiness
Probe Basic Transcript Readiness
Checks transcript presence for the first selected project item, exports transcript JSON when present, and logs obvious placeholder signals without pretending to certify completion.
Topics: semantic probing, transcript readiness, discovery probes
Source: probes/ex-transcript-readiness-selected-project-item.json
Probe Transcript Export From Selected Project Item
Probe Transcript Export From Selected Project Item
Exports transcript JSON from the first selected project item when available and logs the resulting file path, JSON length, and transcript-presence state.
Topics: semantic probing, transcript, discovery probes
Source: probes/ex-transcript-export-selected-project-item.json
Formats
Create Sequence From Embedded Preset As ABSCRIPT Build Spec
Create Sequence From Embedded Preset As ABSCRIPT Build Spec
Portable ABSCRIPT BUILD SPEC example that prompts for an `.sqpreset` file, embeds it, and feeds it into `prSequenceCreate.inputs.presetPath`. This is the portable counterpart to the visible local `.sqpreset` path example.
Topics: format selection, embedded assets, sequence creation, presets
New to bundled files? Read Embedding Files.
Source: formats/ex-format-abscript-build-spec-prompt-sequence-create-from-preset.json
Import Embedded Media As ABSCRIPT Build Spec
Import Embedded Media As ABSCRIPT Build Spec
Portable ABSCRIPT BUILD SPEC example with a `PROMPT_FILE` asset source and an `embedded://...` import. This is the portable counterpart to the visible local-path media-import pattern.
Topics: format selection, embedded assets
New to bundled files? Read Embedding Files.
Source: formats/ex-format-abscript-build-spec-prompt-file-import.json
Insert Embedded MOGRT As ABSCRIPT Build Spec
Insert Embedded MOGRT As ABSCRIPT Build Spec
Portable ABSCRIPT BUILD SPEC example that prompts for a `.mogrt` file, embeds it, and inserts it into the active sequence via `prInsertMogrtFromPath`. This is the portable counterpart to the visible local-path MOGRT pattern.
Topics: format selection, embedded assets, motion graphics templates
New to bundled files? Read Embedding Files.
Source: formats/ex-format-abscript-build-spec-prompt-mogrt-insert.json
Log Active Sequence As ABSCRIPT Build Spec
Log Active Sequence As ABSCRIPT Build Spec
The same minimal workflow wrapped as ABSCRIPT Build Spec output.
Topics: format selection
New to bundled files? Read Embedding Files.
Source: formats/ex-format-abscript-build-spec-log-active-sequence.json
Log Active Sequence As Persisted Document
Log Active Sequence As Persisted Document
The same minimal workflow wrapped as persisted document JSON.
Topics: format selection
Source: formats/ex-format-persisted-document-log-active-sequence.json
Log Active Sequence As Runtime DSL
Log Active Sequence As Runtime DSL
Minimal direct-execution example as raw runtime DSL.
Topics: format selection
Source: formats/ex-format-runtime-log-active-sequence.json
Open Embedded Project As ABSCRIPT Build Spec
Open Embedded Project As ABSCRIPT Build Spec
Portable ABSCRIPT BUILD SPEC example that prompts for a `.prproj` file, embeds it, and opens it with `prProjectOpen`.
Topics: format selection, embedded assets, project management
New to bundled files? Read Embedding Files.
Source: formats/ex-format-abscript-build-spec-prompt-project-open.json
Render Sequence With Embedded Preset As ABSCRIPT Build Spec
Render Sequence With Embedded Preset As ABSCRIPT Build Spec
Portable ABSCRIPT BUILD SPEC example that prompts for an `.epr` preset file, embeds it, derives the output suffix, and renders the active sequence. This is the portable embedded-preset counterpart to the runtime render patterns that use known preset paths.
Topics: format selection, embedded assets, rendering and export, presets
New to bundled files? Read Embedding Files.
Source: formats/ex-format-abscript-build-spec-prompt-sequence-render.json