2 Replies Latest reply on Dec 20, 2011 7:10 AM by absqua

    [JS CS4/CS5/CS5.5] How to get return value from Javascript when using doScript

    RF2009 Level 1

      Hi all

       

      I'm trying to call some javascript from COM (c#) and this works fine. Passing parameters to the javascript and reading them using the arguments[x] syntax also works fine.

       

      What I can't seem to get to work is how to pass something back from the javascript to the calling COM invoker, in this case c#. How/where do I place the return value in the javascript?

       

      Thanks in advance.

       

      Ruvan