25-06-2012 05:26 PM
Hello,
I try to execute a java plugin but I have an error.
I create a macro with this settings :
I create a java project (see below) and export (JavaTest.jar)
When I execute this code :
CurrentEnvironment.GetMacro("TestJava").test1
I have an error message :
TestJava : Erreur d'exécution Microsoft VBScript line 1, offset 1 :
Error(0x800a01b6) : Cet objet ne gère pas cette propriété ou cette méthode: 'CurrentEnvironment.GetMacro(...).test1'
Thank you in advance for your help.
--
N. Gibanel
Solved! Go to Solution.
07-07-2020 12:29 PM
Hello ,
Could you please tell me what change you did for your macro to work .
I also facing same error when i try to call Java function from Mega Macro .
Mega Macro Syntax used :
CurrentEnvironment.GetMacro(Class Name").Method
Error : Object doesn't support the property CurrentEnvironment.GetMacro
26-06-2012 02:56 PM
It works.
Thanks for your response.
--
N. Gibanel
26-06-2012 10:41 AM
Remember that you have to close and restart MEGA to get the JARs updated.
26-06-2012 10:36 AM
After several tests, my macro works.
But if I update my jar file, the same error appears...
Can I change the implementation of the plugin after a first execution ?
26-06-2012 10:13 AM
Thanks a lot for the response.
Yes, I execute this code
CurrentEnvironment.GetMacro("TestJava").test1
and I followed the process to create and run a Java plugin.
I don't understand where is the problem
25-06-2012 07:24 PM
Hi,
Did you execute your macro using a VB line like the following one ?
CurrentEnvironment.GetMacro("TestJava").test1
I don't know if you've already taken a look a this, but there is a PDF file called creating MEGA plug-ins with Java where the process to create and run a Java plugin is explained.
Regards