打开QQ并且让它自己输入用户名和密码的vbs脚本
程序员文章站
2024-01-07 10:29:40
可以定时打开qq并且让它自己输入用户名和密码的脚本复制代码 代码如下:dim program program="c:\program fil...
可以定时打开qq并且让它自己输入用户名和密码的脚本
dim program
program="c:\program files\tencent\qq\qq.exe" '你的qq路径
set wshell=createobject("wscript.shell")
set oexec=wshell.exec(program)
wscript.sleep 2000
wshell.appactivate "qqtang"
wshell.sendkeys "+{tab}"
wshell.sendkeys "qq号码"
wscript.sleep 1000
wshell.sendkeys "{tab}"
wshell.sendkeys "qq密码"
wscript.sleep 1000
wshell.sendkeys "{enter}"
复制代码 代码如下:
dim program
program="c:\program files\tencent\qq\qq.exe" '你的qq路径
set wshell=createobject("wscript.shell")
set oexec=wshell.exec(program)
wscript.sleep 2000
wshell.appactivate "qqtang"
wshell.sendkeys "+{tab}"
wshell.sendkeys "qq号码"
wscript.sleep 1000
wshell.sendkeys "{tab}"
wshell.sendkeys "qq密码"
wscript.sleep 1000
wshell.sendkeys "{enter}"