Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Accessing sdk plugin methods from extend script

Explorer ,
Jul 13, 2015 Jul 13, 2015

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.

TOPICS
Scripting
2.6K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Enthusiast , Jul 18, 2015 Jul 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 wit

...
Translate
Community Expert ,
Jul 13, 2015 Jul 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
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 13, 2015 Jul 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Jul 18, 2015 Jul 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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 18, 2015 Jul 18, 2015

This is a fairly good lead I will be able to try.


Thank you Arie,

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Jul 18, 2015 Jul 18, 2015

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 18, 2019 Apr 18, 2019
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines