Version 1.0.0.0
Tablacus Script Control
Script Control for 64-bit platforms.
Alternate MSScript.ocx
* Install & Uninstall
Run setup.exeHow to useiSame as the Microsoft Script Controlj
ex1.jsvar SC = new ActiveXObject("ScriptControl");SC.Language = "VBScript";SC.ExecuteStatement('MsgBox 1+2');
ex2.js
var SC = new ActiveXObject("ScriptControl");SC.Language = "VBScript";WScript.Echo(SC.Eval("1+2"));
ex3.js
var SC = new ActiveXObject("ScriptControl");SC.Language = "JScript";SC.AddObject("WScript", WScript);SC.AddCode('function fnx(a,b,c){ WScript.Echo(a + ":" + b + ":" + c) }');SC.Run("fnx", 1, "data2", "data3");
ex4.js
var SC = new ActiveXObject("ScriptControl");SC.Language = "JScript";SC.AddObject("WScript", WScript);SC.AddCode('function fnx(a,b,c){ WScript.Echo(a + ":" + b + ":" + c) }');SC.CodeObject.fnx(1,2,3);
ex5.vbs
Set SC = CreateObject("ScriptControl")SC.Language = "VBScript"MsgBox SC.Eval("1+2")
History & Source
License