Skip to main content
Inspiring
November 3, 2011
Question

How to get the return value after executing the script?

  • November 3, 2011
  • 1 reply
  • 1405 views

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

This topic has been closed for replies.

1 reply

Community Expert
November 3, 2011
dheeraj_cAuthor
Inspiring
November 3, 2011

Thanks shachar. I did that but the value returned is some invalid number. I will try again and check.