-
Is it possible to change multiple comps start frame with a script?
Here’s the issue:
We get a lot of footage from overseas and out of FCP with a one hour start on the time code. I need to change all the comps to a start frame of 1. Currently I have to do it one by one. I’ve been trying to find a solution that would let me batch change several comp’s start frame.
I’ve already searched around for a solution to this problem and tried using CRGreen’s Selected Comps Changer first but it doesn’t have start frame as an option. I tried modifying some other scripts I found for changing length or size to change start frame but it didn’t work. My scripting knowledge is juvenile and limited.
I tried taking this script for changing frame rate:
var myItems = app.project.selection;
for (var i = 0; i < myItems.length; i++) {
if (myItems[i] instanceof CompItem) {
myItems[i].frameRate = 11;
}
}and changing it to this:
var myItems = app.project.selection;
for (var i = 0; i < myItems.length; i++) {
if (myItems[i] instanceof CompItem) {
myItems[i].startFrame = 1;
}
}But it didn’t work.
Any help? Thanks!