text=Plugin.File.ReadFileEx("C:\网通二区.txt")
Marry = split(text, "|")
For n0 = 0 To UBound(Marry)-1
Next
n0 = 0
Do
hwnd = Plugin.Window.find(0, "登录")
TracePrint hwnd
If hwnd>0 Then
text1 = split(Marry(n0), ",")
帐号 = text1(0)
密码 = text1(1)
MoveTo 699,511//输入账号坐标
For n = 1 To len(帐号)
k=mid(帐号,n,1)
Delay 30
KeyPressS asc(ucase(k)),1
Next
MoveTo 666,570//输入密码坐标
For n = 1 To len(密码)
k=mid(密码,n,1)
Delay 30
KeyPressS asc(ucase(k)),1
Next
Delay 500
MoveTo 633,617//确定
Delay 500
LeftClick 1
Else
End If
Delay 800
text11=join(text1,",")&"---已登录"
Call Lib.文件.替换指定行文本内容("C:\网通二区.txt",text11,n0+1)
n0 = n0 + 1
If n0 >= UBound(Marry) Then
MessageBox "帐号已经全部登录完毕"
EndScript
End If
Loop
上里是一个循环输入一个账号和密码
Marry = split(text, "|")
For n0 = 0 To UBound(Marry)-1
Next
n0 = 0
Do
hwnd = Plugin.Window.find(0, "登录")
TracePrint hwnd
If hwnd>0 Then
text1 = split(Marry(n0), ",")
帐号 = text1(0)
密码 = text1(1)
MoveTo 699,511//输入账号坐标
For n = 1 To len(帐号)
k=mid(帐号,n,1)
Delay 30
KeyPressS asc(ucase(k)),1
Next
MoveTo 666,570//输入密码坐标
For n = 1 To len(密码)
k=mid(密码,n,1)
Delay 30
KeyPressS asc(ucase(k)),1
Next
Delay 500
MoveTo 633,617//确定
Delay 500
LeftClick 1
Else
End If
Delay 800
text11=join(text1,",")&"---已登录"
Call Lib.文件.替换指定行文本内容("C:\网通二区.txt",text11,n0+1)
n0 = n0 + 1
If n0 >= UBound(Marry) Then
MessageBox "帐号已经全部登录完毕"
EndScript
End If
Loop
上里是一个循环输入一个账号和密码


王

者








