【发布时间】:2015-11-05 01:40:52
【问题描述】:
我的代码是
Set WshShell = CreateObject("WScript.shell")
for i = 0 to 50
WshShell.SendKeys(chr(175))
next
Process.Start("CMD", "/C start chrome.exe http://www.example.com")
它将音量设置为满,然后打开 chrome 到 example.com。但是当我运行它时,我得到了这个错误:
Cannot use parentheses while calling a Sub
如何让它提高音量,然后进入网页?
【问题讨论】:
-
VB.NET VBscript。在标签文本中这么说
标签: vbscript