is there a way to remove all missing footage items from my project?
I have lots of items imported from older project that I do not need as reference. It would be nice to have a way to avoid deleting them one by one...
thanks a lot

Moderator: byronnash
Code: Select all
{
// Go backwards through all the items in the project
// Go backwards because we'll be deleting items from the list.
for (i = app.project.numItems; i >= 1; i--) {
var cur_item = app.project.item(i);
if (cur_item.typeName == "Footage" && cur_item.footageMissing == true) {
cur_item.remove();
}
}
}