
CODE: [Copy to clipboard]这方面,VBS没有autoit好用的,不过勉强也还可以的。set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "iexplore.exe 192.168.0.1"
WScript.Sleep 3000
WshShell.AppActivate "连接到"
WshShell.SendKeys "admin"
WScript.Sleep 300
WshShell.SendKeys "{TAB}"
WScript.Sleep 300
WshShell.SendKeys "****"
WScript.Sleep 300
WshShell.SendKeys "{ENTER}"
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |