Copy link to clipboard
Copied
Hey everyone.
I'm new to the community and need some help with a script that I feel is almost successful.
So here is the scenario. You are an editor, you have videos in a Projects Bin called "Selects" you have a sequence with markers. You open up Automation Blocks and run the script, which is supposed to initiate the Automate to Sequence function in Premiere and place those clips from your projects bin 'Selects' into the sequence at the numbered markers.
I've been working with OpenAI since I'm not a developer, and we have created a script that will recognize the Root Items in the project, find the 'Selects' bin and its contents, find the sequence and the video track and run through the processing of the clips and markers , but at the last stage it will consistently give me this message: ERROR: Object is not a folder (line 1)
OpenAI seems to think the issue is outside the script:
OPENAI: Error Outside the Script
•Since the error occurs even after the script has completed, there could be an external factor causing this error message to appear.
Can anyone help me bring this script accross the finish line?
I've attached my Automation Blocks XML which contains the script, I attached the Project File and Song used in the project. You would just need to add videos into the 'Selects' bin since they were too heavy to attach here.
Thanks for being a part of this community and hopefully someone can help me out.
Copy link to clipboard
Copied
I hust saw your message, must have overlooked it when you posted it.
In your "execute code" block, you have chosen result type "folder", but it appears like your Chat-CPG-created codes does not return anything. Did you try to switch the result type to "none"?