发布网友 发布时间:2022-04-24 02:07
共1个回答
热心网友 时间:2023-08-07 05:51
批处理没的键盘模拟 VBS才有 把下面的保存为aa.vbs 运行就可以了Set WshShell = WScript.CreateObject("WScript.Shell")WshShell.Run "explorer.exe http://www.baidu.com",1 WScript.Sleep 1000WshShell.SendKeys "{TAB}"WScript.Sleep 500WshShell.SendKeys "122242"WScript.Sleep 500WshShell.SendKeys "{TAB}"WScript.Sleep 200WshShell.SendKeys "密码"--------------------------------------到此为止 如果最后要回车的话下面2句加上WScript.Sleep 500WshShell.SendKeys "{ENTER}"