Copy link to clipboard
Copied
I decided to give the third question of this post (https://community.adobe.com/t5/premiere-pro-discussions/so-there-is-no-way-to-insert-2-audio-clips-s...) its own post.
So in extendscript we have the "insertClip" function that let you add a clip with a time of your choosing,
but the limitation of number of frames makes it impossible to add clips one after another, you always need to have at least 33 ms separation distance I believe.
I would like to find a way to add the clips automatically, without having to insert the timing value of the clip.
The goal is to be able to add a collections of clips one after the other, very simply.
Can we do that?
Thanks
The goal is to be able to add a collections of clips one after the other, very simply.
Can we do that?
Yes, though you will still need to provide time information.
Once you insert a trackItem, the sequence's CTI will be set to the end of the new trackItem; you can use the CTI position as the insertion point, of the subsequent trackItem.
Copy link to clipboard
Copied
The goal is to be able to add a collections of clips one after the other, very simply.
Can we do that?
Yes, though you will still need to provide time information.
Once you insert a trackItem, the sequence's CTI will be set to the end of the new trackItem; you can use the CTI position as the insertion point, of the subsequent trackItem.
Copy link to clipboard
Copied
Thanks for the answer, what CTI by the way?
Not sure how to implement this?
Copy link to clipboard
Copied
Copy link to clipboard
Copied
So its "Currently selected timestamp" something? I also notice on my screenshot a blue lien perpendicular to the blue ligne with a length of a distance between 2 frames, wonder what's that, probably "current selected frame to frame distance in the track".
In any case I need it in javascript x (extendscript), I checked here (https://ppro-scripting.docsforadobe.dev/collection/collection.html#objects)
I don't see this "CTI" word yet?
Copy link to clipboard
Copied
CTI = Current Time Indicator, as Peru Bob pointed out.
Copy link to clipboard
Copied
Hi,
These days, the UI is no longer called the CTI. It is referred to as the "Playhead" in the User Guide. I hope the info helps.
Thanks,
Kevin
Find more inspiration, events, and resources on the new Adobe Community
Explore Now