Hi there,
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
remove missing footage from project
Moderator: byronnash
-
- Posts: 704
- Joined: June 5th, 2004, 7:59 am
- Location: London, UK
Presumably you're looking for something more specific than the built in File > Remove Unused Footage and Reduce Project?
There was already a script for removing unused solids viewtopic.php?t=17 and page 33 of the AE7 Scripting guide documents the AVItem footageMissing attribute. Combine the two and you get:
There was already a script for removing unused solids viewtopic.php?t=17 and page 33 of the AE7 Scripting guide documents the AVItem footageMissing attribute. Combine the two and you get:
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();
}
}
}