Quantcast
Channel: Adobe Community : Popular Discussions - Premiere Pro SDK
Viewing all articles
Browse latest Browse all 53010

Bug in app.projects list

$
0
0

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


Viewing all articles
Browse latest Browse all 53010

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>