Skip to main content
RichardLalancette
Participating Frequently
July 13, 2015
Answered

Accessing sdk plugin methods from extend script

  • July 13, 2015
  • 2 replies
  • 2498 views

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.

This topic has been closed for replies.
Correct answer Arie Stavchansky

‌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

2 replies

cqt18342843
Participating Frequently
April 18, 2019

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

Mathias Moehl
Community Expert
Community Expert
July 13, 2015

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.

Mathias Möhl - Developer of tools like BeatEdit and Automation Blocks for Premiere Pro and After Effects
RichardLalancette
Participating Frequently
July 13, 2015

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.

Arie StavchanskyCorrect answer
Legend
July 18, 2015

‌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