Hi! I made a script that makes a comp with selected footage and adds a timecode. The problem is that it creates a new solid every time.
Is there a way to add a timecode without a solid or to have the script create a solid in the project and then add the same solid to every comp it makes?
Thanks
add solid to project
Moderator: Paul Tuersley
I realized the reason why what I was trying to do was not working was because I was using 'mainSource' instead of 'source'...
Code: Select all
var timecodeSolid = myComp.layers.addSolid(compBG, "timecodeSolid", 150, 35, compRatio, curDuration);
var timeCode = myComp.layers.add(timecodeSolid.source);