How to get the return value after executing the script?
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
this is how:
Copy link to clipboard
Copied
Thanks shachar. I did that but the value returned is some invalid number. I will try again and check.
Copy link to clipboard
Copied
Link to archived copy of thead - https://web.archive.org/web/20120420150041/http://forums.adobe.com/thread/833377

