Get Item Ref
Returns one item reference from a track. You can resolve the target either by zero-based index or by name. When multiple items share the same name, use duplicateIndex to pick which duplicate to return. Use kind to limit the block to CLIP, TRANSITION, GAP, PREVIEW, or FEEDBACK items.
Inputs
| Input | Required | Value Kind | Types | Enum Values |
|---|---|---|---|---|
track | yes | expression | reference, premiere-pathspec-string | — |
kind | yes | expression | enum-string | CLIP, TRANSITION, GAP, PREVIEW, FEEDBACK |
index | no | expression | number | — |
name | no | expression | string | — |
duplicateIndex | no | expression | number | — |
Notes
No additional notes are available yet.
See Also
- Premiere Reference Paths: Explains Premiere reference path strings for project items, sequences, tracks, timeline items, markers, components, and parameters.
Examples
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 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
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