Skip to main content
Inspiring
June 9, 2023
Answered

Plugin/extension communication

  • June 9, 2023
  • 1 reply
  • 605 views

Hi!
I'm building a c++ transmitter plugin based on the template in the sdk.

I also want to control some of its settings from an html based panel extension, while also being able to send some feedback back. How would I be able to implement a straightforward messaging system between the panel's js. code to the c++ plugin? I know Adobe Illustrator implements a similar functionality but it seems to be based on illustrator-specific libraries.

 

This topic has been closed for replies.
Correct answer Justin Taylor-Hyper Brew

While it's been requested, there aren't offical channels to do this unfortuantely. While PlugPlug clearly works this way, the source is closed so we can't see how to access the APIs.

 

You can try and go the ExternalObject route to allow ExtendScript to call C++ functions:

https://extendscript.docsforadobe.dev/integrating-external-libraries/index.html
https://github.com/Adobe-CEP/CEP-Resources/tree/master/ExtendScript-Toolkit/Samples/cpp

 

But I'm not sure there are any direct ways to communicate the other way in Premiere like there is in AE with AEGP_ExecuteScript().

 

You might want to make your own system through the filesystem reads/writes, http, websockets, or something like that.

1 reply

Justin Taylor-Hyper Brew
Braniac
June 12, 2023

While it's been requested, there aren't offical channels to do this unfortuantely. While PlugPlug clearly works this way, the source is closed so we can't see how to access the APIs.

 

You can try and go the ExternalObject route to allow ExtendScript to call C++ functions:

https://extendscript.docsforadobe.dev/integrating-external-libraries/index.html
https://github.com/Adobe-CEP/CEP-Resources/tree/master/ExtendScript-Toolkit/Samples/cpp

 

But I'm not sure there are any direct ways to communicate the other way in Premiere like there is in AE with AEGP_ExecuteScript().

 

You might want to make your own system through the filesystem reads/writes, http, websockets, or something like that.

Inspiring
June 13, 2023

I'll get on it, thanks!