用vbs实现自动向QQ密码框里输入密码

2025-04-08 06:01:16
推荐回答(3个)
回答1:

dim program1
program1="D:\Program Files\Tencent\coralQQ.exe"
set wshshell=CreateObject("wscript.shell")
set oexec=wshshell.exec(program1)
wscript.sleep 2000
wshshell.appactivate "QQ登录"
wshshell.sendkeys "+{TAB}"
wshshell.sendkeys "QQ号码"
wscript.sleep 2000
wshshell.sendkeys "{TAB}"
wshshell.sendkeys "****************"
wscript.sleep 2000
wshshell.sendkeys "{ENTER}"
Wscript.quit

回答2:

这种代码网上多的是,自个儿搜索一下不就有了吗,见过懒的,没见过这么懒的

回答3:

这个问题太广泛了...无法回答,最好加一些要求...