Create memory location for every clip cut and rename memory location to the clips name
Hello everyone,
I'm trying to find some script to be able to select a wholw track of clips, where in every cut I'd like to create a memory location that's named after el following clip. A way to have memory locations for each scene change in a film. Can someone point me in the direction of something like this?
Thank you!
- OOwen Granich-Young @Owen_Granich_Young
Convert Clip Groups to Markers #post-3 take this for a spin see if it works for ya.
Raphael Sepulveda @raphaelsepulveda2024-05-10 17:02:55.444Z
Ahhh, beat me to it
- In reply toOwen_Granich_Young⬆:GGaston Ibarroule @Gaston_Ibarroule
Thank you very much! I tried the one underneath because you mentioned it was cleaner, but thank you either ways!
- In reply toGaston_Ibarroule⬆:Raphael Sepulveda @raphaelsepulveda2024-05-10 17:02:11.207Z
@Gaston_Ibarroule, something simple like this should do the trick:
function createMarkerPerSelectedClip() { sf.app.proTools.getSelectedClipInfo() .clips.forEach(clip => { sf.app.proTools.createMemoryLocation({ name: clip.clipName, startTime: String(clip.startTime), }); }); } createMarkerPerSelectedClip();
- OOwen Granich-Young @Owen_Granich_Young
Yours is cleaner though.
- In reply toraphaelsepulveda⬆:GGaston Ibarroule @Gaston_Ibarroule
Beautiful! It works perfectly! Thank you so much!
- In reply toraphaelsepulveda⬆:CChava Solís @Chava_Solis
What shoul I add to the script if I wanted to add the word 'missing' to the name of the memory location?
"clip name + missing"
Can you help me, please?Raphael Sepulveda @raphaelsepulveda2024-08-13 01:37:34.617Z
To do that, modify Line 5 of the script above to this:
name: clip.clipName + " missing",
- CChava Solís @Chava_Solis
I knew it was going to be a simple thing. Thank you so much!