2 Replies Latest reply on Feb 17, 2015 7:18 AM by FarzanaArethwala

    Calling Plugin Method through JavaScript

    FarzanaArethwala Level 1

      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.