windows脚本宿主(WSH)环境JScript使用msgbox,alert

找了好久才找到,存档!

可在windows xp,windows7下通过:

var myMsgBox=new ActiveXObject("wscript.shell")
myMsgBox.Popup("Hey, this works")