Quantcast
Channel: Adobe Community : Popular Discussions - InDesign Server Developers
Viewing all articles
Browse latest Browse all 20709

Calling Plugin Method through JavaScript

$
0
0

Hello All,

 

Happy New Year to all.

 

I have a plugin under InDesign CS4 Server which had an event exposed with some parameter. Now I am trying to port the plugin into InDesign CS5 server. I have changed under .FR "Event" to "Method" and all the relevant changes required for calling the Method.

 

When under Javascript I call my plugin method

for e.g. app.mymethod(documentname);

 

It shows an error under the script "app.mymethod is not a function".

 

Does any one have an idea what I might have missed while porting the plugin. Or under CS5 is there a different way to call the plugin method from Script.

Please do let me know its urgent.

 

Thank you all in advance.

 

Regards

Farzana.


Viewing all articles
Browse latest Browse all 20709

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>