按键精灵*ff





Function gethttp(URL) 
    Set objXML=CreateObject("Microsoft.XMLHTTP")
    objXML.Open "Get", Url, False
    objXML.send
    If objXML.readyState=4 then 
        gethttp =objXML.ResponseText
    End If
    objXML.Abort 
    Set objXML = Nothing
End Function


'==========以下是按键精灵录制的内容==========
MoveTo 494, 531
Delay 1617
MouseWheel 1
Delay 5
MouseWheel 1
Delay 66
MouseWheel 1
Delay 5
MouseWheel 1
Delay 41
MouseWheel 1
Delay 4
MouseWheel 1
Delay 61
MouseWheel 1
Delay 4
MouseWheel 1
Delay 59
MouseWheel 1
Delay 5
MouseWheel 1
Delay 82
MouseWheel 1
Delay 4
MouseWheel 1
MoveTo 608, 396
Delay 881
LeftDown 1
Delay 16
LeftClick 1
Delay 2
LeftUp 1
MoveTo 609, 396
Delay 1281
//用户名称
SayString int(rnd() * 999999999999999) + 1



MoveTo 603, 448
Delay 949
LeftDown 1
Delay 10
LeftClick 1
Delay 3
LeftUp 1
Delay 447

//密码
SayString "ABCD1234"


MoveTo 634, 476
Delay 923
MouseWheel -1
Delay 25
MouseWheel -1
Delay 33
MouseWheel -1
Delay 69
MouseWheel -1
MoveTo 661, 489
Delay 1013
LeftDown 1
Delay 5
LeftClick 1
Delay 3
LeftUp 1
Delay 1260



tel = gethttp("http://api.jmyzm.com/http.do?action=loginIn&uid=laji123&pwd=")
a=split(tel,"|")

code = a(1)
url = "http://api.jmyzm.com/http.do?action=getMobilenum&pid=20135&uid=laji123&token="& code &"&cr=2&size=1&rnd=" & int(rnd() * 99999) + 1
tel2 = gethttp(url)
b=split(tel2,"|")
//MessageBox url
//手机号
SayString b(0)




MoveTo 835, 533
Delay 2080
LeftDown 1
Delay 700
LeftClick 1
Delay 200
LeftUp 1
Delay 500
LeftDown 1
Delay 700
LeftClick 1
Delay 200
LeftUp 1
MoveTo 580, 547
Delay 1751
LeftDown 1
Delay 19
LeftClick 1
Delay 3
LeftUp 1
codetpl = "" 
url = "http://api.jmyzm.com/http.do?action=getVcodeAndReleaseMobile&uid=laji123&pid=20135&token=" & code & "&mobile=" & b(0) 
    //MessageBox url


    
For 火星=1 to 4 Step 1 

Delay 5000
codetpl = gethttp(url)
MessageBox codetpl

If len(codetpl) > 20 Then 
MessageBox "tiaozhuan"
    Goto ok
End If


Next    
    
Rem ok


c = split(codetpl, "验证码为")
d = split(c(1),",验证码30分钟")
//输入验证码
SayString d(0)




MoveTo 717, 729
Delay 4080
LeftDown 1
Delay 9
LeftClick 1
Delay 2
LeftUp 1
Delay 1696
LeftClick 1
Delay 2
LeftUp 1

'==========以上是按键精灵录制的内容==========

转载于:https://www.cnblogs.com/aliblogs/p/5927528.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值