Closed AlexanderSuvorov closed 4 years ago
Which host application(s)?
Premiere Pro in priority. Perhaps in the future this feature will be needed in After Effects too.
var ignoreSubclips = true; var matchingProjectItemsFound = app.project.rootItem.findItemsMatchingMediaPath(newPath, ignoreSubclips);
// that will give you an array of projectItems with the same path. // If the array is length 0, no matches.
To remove projectItems, put them into a bin (which you can create), then delete the bin.
It works for me. Thank you.
Hi.
Is there any way to remove the file from the project, or replace it with another file. I want to give a choice to the user of my extension what to do if the imported file already exists in the project.
Thanks.