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

How to open closed project panel by PPro api?

$
0
0

Hello,

 

I want to open closed project panel by PPro API.

 

Steps:

  1. Open project.
  2. Close the panel. Right click on Project Panel >> 'Close Panel'.
  3. Try to open Project by API.

 

I have tried to open that project once again by below code but it can't open the project panel.

 

var projToOpen = new File(projectFilePath);
app.openDocument( projToOpen.fsName,  1, // suppress 'Convert Project' dialogs?  1, // suppress 'Locate Files' dialogs?  1);

 

Is there any way to open it?

 

I found below API code to open extension but I am not sure that will work for this panel.

 

CSInterface.prototype.requestOpenExtension = function(extensionId, params)
{  window.__adobe_cep__.requestOpenExtension(extensionId, params);

};

 

Could you please suggest me the proper way to open that project panel once again if end user closes project panel and I need to reopen by API?

As well What should be the extensionId for that project panel?

 

proapi.png

 

PPro Version: 12.0.0


Viewing all articles
Browse latest Browse all 53010

Trending Articles



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