Copy link to clipboard
Copied
Hey All,
I am looking for any leads that would allow me to access sdk plugin methods from some of my scripts.
As you well know, there is quite a few after effect functionality that aren't available from extend script. I would like to implement these new functions inside an SDK plugin and access them via script.
I'm open to any solutions that would allow be to interface them.
Thanks in advance,
Richard L.
‌Have you taken a look at building a DLL / Bundle using the SDK methods and calling exposed methods in there from ExtendScript via its ExternalObject Class? On a recent project I had to wrap some C++ methods from a different library (not the AE Plugin SDK) inside a Bundle / DLL that conformed to the ExternalObject spec. as outlined in the Javascript Tools Guide from Adobe. Was fairly easy after working with the examples Adobe's provides. I'm not sure if it would be possible to do the same wit
...Copy link to clipboard
Copied
I don't think that you can access plugin API methods from a script. But you can execute scripts from a plugin. Hence# you most probably want to develop a plugin and use the scripting API for some of its functionality.
Copy link to clipboard
Copied
I'm building the UI from extendscript. This is to create a panel in AE.
The idea is to create a toolkit that will facilitate our designer's work via this panel.
Copy link to clipboard
Copied
‌Have you taken a look at building a DLL / Bundle using the SDK methods and calling exposed methods in there from ExtendScript via its ExternalObject Class? On a recent project I had to wrap some C++ methods from a different library (not the AE Plugin SDK) inside a Bundle / DLL that conformed to the ExternalObject spec. as outlined in the Javascript Tools Guide from Adobe. Was fairly easy after working with the examples Adobe's provides. I'm not sure if it would be possible to do the same with the AE SDK, but maybe worth a shot?
Hopefully that can help you a bit in getting started.
—Arie
Copy link to clipboard
Copied
This is a fairly good lead I will be able to try.
Thank you Arie,
Copy link to clipboard
Copied
Sure! Would love to know your results if you are successfully able to call any AE SDK plugin method from ExtendScript with the method outlined.
Happy coding!
—Arie
Copy link to clipboard
Copied
where is the " sdkInstall/ sdksamples/ cpp/ " in Windows 10
------------------------------------------------------------------------------------------ -----------
in JavaScript Tools Guide CC.pdf
The sample code distributed with the Adobe ExtendScript SDK includes an example that demonstrates
how write a C/C++ shared library to be integrated with JavaScript. It is in the directory:
sdkInstall/ sdksamples/ cpp/
I can't find it in After Effects 7.0r3 SDK\ Examples
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more