Skip to main content
Participant
September 17, 2025
Question

UXP: How to read clip markers and cut timeline items at those positions?

  • September 17, 2025
  • 0 replies
  • 112 views

Hi everyone,

 

I’m making a Premiere Pro UXP panel and I’d like to automate some cuts on the timeline.

 

My workflow uses three clip markers:

  • _RecStart (auto at the beginning)
  • _ShotMark1 (marks end of a take)
  • _ShotMark2 (marks a good take — keep the section between this marker and the previous _ShotMark1)

 

What I want with one button “Cut Video”:

1. Look at all clip markers in the active sequence

2. For every _ShotMark2, find the previous _ShotMark1.

3. Keep only that take (between _ShotMark1 → _ShotMark2).

4. Remove the other takes.

 

My questions: What’s the proper way in UXP to read clip-instance markers (not sequence or source markers i was only able to read them)? Or maybe there is some workaround