Sequence Create
Creates a new sequence and returns its sequence reference through `storeResultIn` when that variable is set. The stored value is a sequence ref string ending in `::SEQ`, not a boolean success flag. The newly created sequence becomes the active sequence in Premiere, but later blocks should prefer the stored sequence ref for deterministic follow-up work. Use `targetBin` when the created sequence should be moved into a specific bin. If `targetBin` points into another open project, the sequence is created in that target project instead of the currently active one.
Inputs
| Input | Required | Value Kind | Types | Enum Values |
|---|---|---|---|---|
name | yes | expression | — | — |
presetPath | no | expression | — | — |
targetBin | no | expression | — | — |
onError | no | expression | enum-string | STOP, CONTINUE, RETURN_FALSE |
storeResultIn | no | variable-name | — | — |
Notes
- Creates a new sequence and makes it the active sequence in Premiere.
storeResultInstores the created sequence ref string (for exampleProject.prproj\New Sequence::SEQ), not a boolean success flag.- Prefer using that stored sequence ref directly in later blocks instead of relying only on the active-sequence side effect.
Examples
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
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
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