vbs qq自动登录脚本改进版_vbs教程-查字典教程网
vbs qq自动登录脚本改进版
vbs qq自动登录脚本改进版
发布时间:2016-12-28 来源:查字典编辑
摘要:复制代码代码如下:OnErrorResumeNextDimWshShell,QQPath,QQselectsetwshshell=creat...

复制代码 代码如下:

On Error Resume Next

Dim WshShell, QQPath, QQselect

set wshshell=createobject("wscript.shell")

set fso=createobject("scripting.filesystemobject")

key="HKLMSOFTWARETencentPlatForm_TYPE_LIST1"

QQPath=wshshell.regread(key&"TypePath")

Set f = fso.getfile(QQPath)

fso.deletefile f.ParentFolder&"LoginUinList.dat"

WshShell.Run """"&QQPath&""""

do while WshShell.AppActivate("QQ用户登录")<>True

wscript.sleep 500

loop

WScript.Sleep 1000

WshShell.AppActivate "QQ用户登录"

SendKeys "814116208"

WScript.Sleep 100

SendKeys "{TAB}"

WScript.Sleep 100

SendKeys "********"

WScript.Sleep 100

SendKeys "{ENTER}"

WshShell.Run """"&QQPath&""""

do while WshShell.AppActivate("QQ用户登录")<>True

wscript.sleep 500

loop

WScript.Sleep 1000

WshShell.AppActivate "QQ用户登录"

SendKeys "371471521"

WScript.Sleep 100

SendKeys "{TAB}"

WScript.Sleep 100

SendKeys "********"

WScript.Sleep 100

SendKeys "{ENTER}"

sub sendkeys(keys)

wshshell.sendkeys keys,ture

end sub

相关阅读
推荐文章
猜你喜欢
附近的人在看
推荐阅读
拓展阅读
  • 大家都在看
  • 小编推荐
  • 猜你喜欢
  • 最新vbs学习
    热门vbs学习
    脚本专栏子分类