‎11-01-2018 04:55 PM
Hi All,
I was able to call a vbscript macro from Java using Java api. My question is, can I pass a MegaObject from java class to vbscript macro ? So far I am successful if I pass String objects only.
Java code:
MegaCOMObject macro = (MegaCOMObject) oEnv.getMacro("TestMacroCallViaJava");
Vbscript macro
Function TestJavaCall(MyMegaObject)
MsgBox("Inside TestJavaCall:" & MyMegaObject)
TestJavaCall = "Good"
End Function