中国DOS联盟

-- 联合DOS 推动DOS 发展DOS --

联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum
DOS,代表着自由开放与发展,我们努力起来,学习FreeDOS和Linux的自由开放与GNU精神,共同创造和发展美好的自由与GNU GPL世界吧!

中国DOS联盟论坛
现在时间是 2026-08-12 10:48
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » [求助]自动登陆QQVBS问题求助--已解决 查看 878 回复 0
楼 主 [求助]自动登陆QQVBS问题求助--已解决 发表于 2010-04-26 16:47 ·  中国 江西 吉安 移动
新手上路
积分 17
发帖 7
注册 2008-04-30 19:36
18年会员
UID 117407
性别 男
状态 离线
麻烦帮个忙下:
这是一个自动登陆QQ的脚本,但是有个问题,怎么判断密码编辑框中是已有内容的?如果有则清空原内容,另外烦请大家另给个批量登陆QQ2010的脚本来学习下,谢谢.
program="你QQ安装的路径"
set Wshell=CreateObject("Wscript.Shell")
set oexec=Wshell.Exec(program)
wscript.Sleep 1000
Wshell.SendKeys "{TAB}"
Wshell.SendKeys "{TAB}"
Wshell.SendKeys "{TAB}"
Wshell.SendKeys "{TAB}"
Wshell.SendKeys "{TAB}"
Wshell.SendKeys "{TAB}"
Wshell.SendKeys "{TAB}"
Wshell.SendKeys "{TAB}"
wscript.Sleep 2000
Wshell.SendKeys "你的QQ"
Wshell.SendKeys "{TAB}"
wscript.Sleep 1000
Wshell.SendKeys "你的密码"
wscript.Sleep 1000
Wshell.SendKeys "{TAB}"
Wshell.SendKeys "{TAB}"
Wshell.SendKeys "{TAB}"
Wshell.SendKeys "{TAB}"
Wshell.SendKeys "{TAB}"
Wshell.SendKeys "{ENTER}"

[ Last edited by dcxc8888 on 2010-4-27 at 20:50 ]
论坛跳转: