2 Replies Latest reply: Nov 3, 2011 2:03 AM by dheeraj_c RSS

    How to get the return value after executing the script?

    dheeraj_c Community Member

      Hi All,

                I'm running a script form AEGP using AEGP_ExecuteScript(). I want the value(in my case a string) which is returned from the script.

       

      AEGP_ExecuteScript ( AEGP_PluginID inPlugin_id,

      const A_char* inScriptZ,

      const A_Boolean platform_encodingB,

      AEGP_MemHandle *outResultPH0,

      AEGP_MemHandle *outErrStringPH0);

       

      I tried passing a MemHandle to outResultPH0, but the values returned are junk.

       

      Is it possible to get the return value from the script?

       

      Thanks,

      Dheeraj