Speeding up the workflow with script - API failed
I surrender. I wasted almost 10 hours on chatting with chat GPT to create simple script to speed up my workflow (in my opinion simple, I'm not a programmer) to finally read that it's not possible beceause of API. Maybe some of You will have an idea how to workaround that.
But let's start from the beginning
I do video documentations on constuction sites, every month, couple of investments. These videos are practically the same, the only difference is to replace video clips with up to date clips and edit a graphic/text with an annotation what we see it the picture. No rocket science, base editing, very repetitive easy steps. So I wanted to create a script which could help me with 2 things:
1. Matching existing text/graphics length to the video clips length - I always open previous file, delete old videos, import and draag to timeline new ones and then have to adjust the text length to the video clips,
2. Second part is updating the existing texts to new one - here I came up with an idea that new text above the clip could literally be a video clip name, so script could take na video file name, and paste it (replace the old text) in to the graphic/text located directly above the video clip.
About the first one - I tried to write a script which adjusts the length of existing texts to the video located below on track Video 1. But as GPT said - API doesn't allow it. So I tried to make a script which duplicates the one existing text until it meets last video clip below, but also API doesn't allow it. So I gave up. According to gpt there is a limitation in API with using graphic/text.
About the second one - the idea was to updating the existing text on track 3 with the clip name located below on track 1 - and of course API doesn't allow that. So maybe mogrt? I also tried that (converting my text to mogrt), and again the problem is API, because it's not possible to import mogrt to project window - it goes to local templates folder, and API can't "put it" on the timeline from there :///
Maybe I'm totally wrong how to achieve the effect, I hope I described it in the right way 🙂 If some of You have an idea how to solve it it would be great.
My noob-not-a-programmer question could be "Is that API allows whatever?" if there's such a problem with a simple things... 😉
I work on Macbook M3 Max, latest IOS, PPro v. 25.5

