-2
现在我正在开发一个应用程序。在那我需要以编程方式启动Windows开始菜单。我为此搜索了cmd命令,但我没有得到。以编程方式启动Windows“开始”菜单
现在我正在开发一个应用程序。在那我需要以编程方式启动Windows开始菜单。我为此搜索了cmd命令,但我没有得到。以编程方式启动Windows“开始”菜单
您可以尝试使用Robot
类来模拟Win键上的按键。
一种方法是通过Windows shell。
尝试这样做:
set wShell=wscript.createobject("wscript.shell")
wShell.sendkeys "^{ESC}"
Set WshShell = Nothing
通过使用这里列出的方法 - >http://www.javaquery.com/2011/02/how-to-execute-microsft-windowss-shell.html
不知道类,真棒! – shem 2012-07-22 10:36:27