复制代码代码如下:
mshta vbscript:window.execScript("alert('hello world!');","javascript")
VBS:
复制代码代码如下:
mshta javascript:window.execScript("msgBox('hello world!'):window.close","vbs")
调用VBS,分别使用MSGBOX函数和POPUP方法:
复制代码代码如下:
mshta vbscript:msgbox("该干活了,伙计!",64,"提示")(window.close)
mshta vbscript:CreateObject("Wscript.Shell").popup("该干活了,伙计!",7,"提示",64)(window.close)
execute方法 一条语句连续弹二个信息框:
复制代码代码如下:
mshta vbscript:execute("msgbox ""one BOX"":msgbox ""two BOX"":window.close")
LZ他们弄的,调用系统的英文阅读:
复制代码代码如下:
mshta vbscript:createobject("sapi.spvoice").speak("Good luck")(window.close)