-
After Effects project data extract
Currently, only comp name and duration are included in this text file, but I hope layer.name, shape layer, and production date are included. And I want all the compositions in the project to be searched, and if there are several layers in the composition, I want to print out all the layers.
loadButton.onClick= function() { var loadData; for(var i = 1; i <= app.project.numItems; i++) { //0 == item switch(typeDropDown.selection.index){ case 0: loadData = loadFile("/item.txt"); var itemData = loadData.split(","); var comp = app.project.activeItem; // name, duration comp.name = itemData[0].toString(); comp.duration = parseInt(itemData[4]); break; } } $.writeIn(loadData);
Sorry, there were no replies found.