Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: AlanT on June 07, 2012, 06:03:20 am
-
I am new to using scripts in EA. I am using VBScript. However, when I use the command Console.WriteLine("test), as in the EA examples, I get the following error:
New script error: Variable is undefined: 'Console', Line:13
I am sure this is something really simple, but I cannot figure out what I need to do to get EA to recognize the Console object.
Thanks, Alan
-
Have you tried running the original scripts?
q.
-
For VBScript running within EA, try replacing "Console.WriteLine" with "Session.Output" instead.