- set ws=wscript.createobject("wscript.shell")
- ws.run "D:\Zipscan_GREEN\Zipscan_GREEN\Zipscan_GREEN\ZipScan\ZipScan.exe",0
- wscript.Sleep 1000
- ws.AppActivate "搜索位置"
- ws.SendKeys "^%{ENTER}"
- wscript.Sleep 200
- ws.SendKeys "^V"
- wscript.Sleep 1000
- ws.SendKeys "^%{ENTER}"
- wscript.Sleep 1000
- ws.SendKeys "{ENTER}"
- ws.SendKeys "^a"
- wscript.Sleep 200
- ws.SendKeys "{ENTER}"
复制代码 想在代码后面,加写一段关闭ZipScan.exe程序的代码应如何写,请大侠们帮助下 |