Hello All,
I am trying to search project (by it's path) from the app.projects list but I found that the app.projects list in not updated correctly. See below steps:
- Open a project called test_1.prproj (Either from the UI or from the API)
- Open another project called test_2.prproj (Either from the UI or from the API)
- Display projects name using below code:
for (var i = 0; i < app.projects.numProjects; i++) { $.writeln(app.projects[i].name); }
I got below output:
test_2.prproj test_2.prproj
Which means all the projects have been replaced with last opened project. So we can't search a project from app.projects. This clearly looks a bug in the API.
Is there any other way to search a project from all opened projects?
Premiere Pro Version: 12.0.0
Extension Type: Panel
Thanks & Regards,
Meet Tank