I was trying to write a simple vbscript in Script editor.
I used WScript.CreateObject(“WScript.Shell”) in the code. And, I got error says Object doesn’t support this property or method: 'WScript.CreateObject’
What should I do to make WScript available? I’m a beginner of VBScript. Thanks!
Hi Eric,
All you need to do is remove the WScript prefix to the CreateObject (as this will ask the FinalBuilder scripting engine to create the object).
eg:
Set Sh = CreateObject(“WScript.Shell”)
cheers,
tate.