dA-tools.com

HOME > AfterFx > Script Labs > Sample Script > FolderItem obj

FolderItem obj

フォルダーアイテム内の名前を列挙
var secondItem = app.project.item(2);
if(!(secondItem instanceof FolderItem)){alert("problem: second item is not a folder");
}else{for (i = 1; i <= secondItem.numItems ; i++) {alert("item number "+ i + " within the folder is named "+ secondItem.item(i).name);
}
}