Help Needed: ExtendScript to Cut Clips at Specific Timestamps
Hi everyone,
I'm trying to write an ExtendScript to automate cutting clips in Premiere Pro at specific timestamps. My goal is to:
- Use a script to cut the video clips on Video Track 0 at multiple timestamps (e.g., 00:00:05:00 to 00:00:06:10 , 00:00:10:00 to 00:00:12:10, etc.).
- Ensure it adheres to ES2 standards (no modern JS features).
- Follow the official Premiere Pro API guidelines without using AI tools or unofficial APIs.
Problem:
I’ve tried a few scripts, but none seem to work correctly. Here are the issues I’m facing:
- The script doesn’t cut the clips at the specified timestamps.
- It seems like the split() method isn’t behaving as expected.
- I’m not sure if I’m calculating the timecode-to-ticks conversion properly.
Can anyone please create and share the code for my use case here? It will be beneficial. Thanks in Advance.
