使用shell读取文本的VBScript

时间:2014-11-24 05:48:19

标签: shell vbscript

'Create a shell object
Set wshShell = WScript.CreateObject ("WSCript.shell")
wshShell.Run "MyAPP.exe"

'Press tab to navigate to a radiobutton
wshShell.SendKeys "{TAB}"

我想阅读radiobutton上显示的文本,然后单击Enter。如何使用shell读取该文本?

0 个答案:

没有答案