JScriptã§InputBox
ScriptControlã使ãã¨ã§ããã
var sc = new ActiveXObject("ScriptControl"); sc.Language = "VBScript"; sc.AddCode("Function f(x,y,z)\nf=InputBox(x,y,z)\nEnd Function"); WScript.Echo(sc.Run("f", "ã¡ãã»ã¼ã¸", "ã¿ã¤ãã«", "åæå¤"));
é¢æ°fãå®ç¾©ããã«ãç´æ¥ sc.Run("InputBox"...) ã¨ããã¨ããªããã¨ã©ã¼ã«ãªã£ã¦ãã¾ãã
ã¹ã¯ãªãã ã³ã³ããã¼ã«ã®æ¦è¦
http://www.microsoft.com/japan/msdn/scripting/scriptcontrol/scoverview.htm