-
Find item and parent it to a specific folder
Hello again!
I´m trying to find some items in my project so they can be re organized in specific folders.
I have this:
function foundFootage(){
var i = 1; i <= app.project.items.length; i++;
if (app.project.item(i).name = "Comp 2"){
app.project.item(i).parentFolder = app.project.item(folderFound);
}
var folderFound = 1; folderFound <= app.project.items.length; folderFound++;
if (app.project.item(folderFound).name = "FOOTAGE"){
foundFootage();
}
}The idea is to find the folder and then call the function who search the item and parent it to this folder.
anyway, it’s not working so… can anybody help me?