-
1. Re: how to call function in the plugin from javascript?
Tom Ruark Dec 2, 2014 8:16 AM (in response to adi_92)There is a PDF called JavaScript Tools Guide CC. Chapter 7, Integrating External Libraries, is the chapter you are looking for.
You can get to the PDF via the ExtendScript ToolKit by using Help -> JavaScript Tools Guide CC.
-
2. Re: how to call function in the plugin from javascript?
adi_92 Dec 3, 2014 6:03 AM (in response to Tom Ruark)Thank you sir for the help.
Is it possible to assign ID to function and specifying that ID during executeAction call in script?
Like at the time of executeaction call we will specify pluginID and functionID as parameter so that function will execute from the respective plugin. Is it possible ?
Thanks.
-
3. Re: how to call function in the plugin from javascript?
Tom Ruark Dec 3, 2014 8:54 AM (in response to adi_92)Yes, most of the SDK examples respond to scripting parameters passed in, I would look at the Dissolve filter example. You could run your function and return parameters back to the script via the actions system if you wanted. You will get a history state doing it this way.
-
4. Re: how to call function in the plugin from javascript?
adi_92 Dec 4, 2014 6:54 AM (in response to Tom Ruark)Thank you very much for the help sir. It worked.


