Author Topic: Newbie Question re VBScript  (Read 3055 times)

AlanT

  • EA User
  • **
  • Posts: 66
  • Karma: +0/-0
    • View Profile
Newbie Question re VBScript
« 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

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Newbie Question re VBScript
« Reply #1 on: June 07, 2012, 06:38:05 am »
Have you tried running the original scripts?

q.

Aaron B

  • EA Administrator
  • EA User
  • *****
  • Posts: 941
  • Karma: +18/-0
    • View Profile
Re: Newbie Question re VBScript
« Reply #2 on: June 07, 2012, 09:59:31 am »
For VBScript running within EA, try replacing "Console.WriteLine" with "Session.Output" instead.