代碼如下:
on error resume next
dim wshshell, qqpath, qqselect
set wshshell=createobject(wscript.shell)
set fso=createobject(scripting.filesystemobject)
key=hklm\software\tencent\platform_type_list\1\
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
由于各方面情況的不斷調(diào)整與變化,易賢網(wǎng)提供的所有考試信息和咨詢回復(fù)僅供參考,敬請(qǐng)考生以權(quán)威部門公布的正式信息和咨詢?yōu)闇?zhǔn)!