用按键输入帐号密码剑侠世界

来源:百度知道 编辑:UC知道 时间:2024/06/30 00:24:37
注意是剑侠世界 帐号和密码都是用户自定义
用SayString 文本不行。。。还有其它方法吗(请发代码)
输入框可以CTRL+C CRTL+V。。。
QQ 280920176
要求读取自定义里的
Delay 400*t
SayString zh(i)
Delay 400*t
KeyPress 9,1
Delay 400*t
SayString mm(i)
i=i+1

告诉你个简单的方法 问都死 自带的 单击 开始->运行->输入osk->按回车 OK 这个方法很不错的哦

Rem 开始
KeyPress 13,1
MoveTo 105,100
Delay 1000
Rem DR
Delay 500
VBSCall Call FindPic(0,50,1023,767,"E:\wl\登入.bmp",0.9,X,Y)
If X>=0 and Y>=0
----------------------------------
KeyPress 98,1
Delay 100
KeyPress 102,1
Delay 100
KeyPress 102,1
Delay 100
KeyPress 99,1
Delay 100
KeyPress 96,1 本部分为密码的键码 ,自己修改
Delay 100
--------------------------------
Else
Goto DR
EndIf
Delay 500
KeyPress 13,1
Delay 500
Rem JR
Delay 500
VBSCall Call FindPic(0,50,1023,767,"E:\wl\进入游戏.bmp",0.9,X,Y)
If X>=0 and Y>=0
MoveTo X+5,Y+10
Delay 300
LeftClick 1
Else
Goto JR
EndIf
Delay 3000
KeyPress 13,1
Goto 开始

----------------------