I've been converting our VBSCripts to JavaScript

How would the ActiceXObject be implemented in an ARIS script(JavaScript).

I've got the below code but it keeps returning an "ActiveXObject" not defined error

var oFSO = null;//Dim oFSO As Object

FSO = new ActiveXObject("Scripting.FileSystemObject");//Set oFSO = CreateObject("Scripting.FileSystemObject")

    

var dicIniSections = null;//dim dicIniSections as Object

dicIniSections = new AcitveXObject("Scripting.Dictionary");//set dicIniSections = CreateObject("Scripting.Dictionary")

 

 or register to reply.

Notify Moderator