为编程爱好者分享易语言教程源码的资源网
好用的代理IP,游戏必备 ____广告位招租____ 服务器99/年 ____广告位招租____ ____广告位招租____ 挂机,建站服务器
好用的代理IP,游戏必备 ____广告位招租____ 服务器低至38/年 ____广告位招租____ ____广告位招租____ 挂机,建站服务器

网站首页 > 脚本专栏 > 按键精灵相关 > 按键精灵Q语言 正文

按键精灵验证码远程代答脚本源码

三叶资源网 2018-12-10 22:40:25 按键精灵Q语言 3190 ℃ 19 评论

按键精灵验证码远程代答脚本源码

运行环境:分辨率:1280x800 色深:32位 操作系统:Microsoft Windows XP 按键精灵版本:9.20.10818

@wfsyq    2012/3/30

UserVar ip="49.72.185.76" "自定义ip地址"  
  
Call 注册()  
//<>------------------------------  
hwnd = dm.GetMousePointWindow()  
TracePrint hwnd  
//  
Call 绑定()  
//<>--------------------------  
dm_ret = dm.FindPic(0,0,2000,2000,"验证码.bmp","000000",0.9,0,intX,intY)  
Delay 20  
TracePrint intX&","&intY  
If intX > 0 And intY > 0 Then  
    Call 远程代答()  
      
End If  
//<>------------------------------  
  
  
//<>------------------------------  
Sub 远程代答()  
  
    handle = dm.FaqCapture(intX+44,intY+87,intX+173,intY+139,50,0,0)  
    Delay 20  
    //  
    TracePrint "开始答题"  
    Do  
  
        答案 = dm.FaqSend(ip&":12345",handle,2,250 * 1000)  
        TracePrint 答案  
        MyArray = Split(答案, ":")  
        //  
        If MyArray(0) = "OK" Then  
            Exit Do  
        Else  
            Call Plugin.Msg.Tips("发送题目,出错了")  
        End If  
    Loop While 7=7  
    //  
    Delay 4000  
    //  
    dm.MoveTo intX+55,intY+192  
    Delay 5  
    dm.LeftClick  
    Delay 20  
    //  
    SayString MyArray(1)  
    Delay 500  
    dm.moveto intX + 113, intY + 263  
    Delay 20  
    dm.LeftClick  
      
    //  
  
End Sub  
//<>--------------------------------------------------------------------<>  
//<>------------------------------子程序------------------------------<>  
//<>--------------------------------------------------------------------<>  
Sub 注册()  
    PutAttachment ".\plugin","*.dll"  
    PutAttachment ".\plugin\大漠梦想","*.bmp"  
    PutAttachment ".\plugin\大漠梦想","*.txt"  
    PutAttachment ".\plugin\大漠梦想","dm.dll"  
    //↑PutAttachment释放附件  
    Call Plugin.DBSoft.RegDBSoft("0731A74F3AA9DC55C27CA168D151F792")  
    //↑大兵·注册  
    Call Plugin.RegDll.Reg(".\plugin\大漠梦想\dm.dll")  
    set dm = createobject("dm.dmsoft")  
    dm.SetPath ".\plugin\大漠梦想"  
    //↑大漠·注册  
    Delay 20  
End Sub  
//  
Sub OnScriptExit()  
    dm_ret = dm.UnBindWindow()   
End Sub  
  
Sub 绑定()  
    Do  
        dm_ret = dm.SetWindowState(hwnd,12)  
        //↑设置“窗口”状态  
        dm.MoveWindow hwnd,0,0  
        //↑移动“窗口”到指定位置,允许移到“屏幕”外  
        Delay 500  
        dm_ret = dm.BindWindow(hwnd,"dx","windows","windows",0)  
        Delay 200  
        If dm_ret=1 Then  
            Exit Do  
        End If  
    Loop While 7=7  
    //↑如果,成功,退出Do循环  
    //↑如果,失败,就一直绑定,直到成功  
End Sub


文件下载

Tags:

来源:三叶资源网,欢迎分享,公众号:iisanye,(三叶资源网⑤群:21414575

已有19位网友发表了看法:

  • 三叶网

    三叶网  评论于 [2019-02-22 13:03:59]  回复

    验证码远程代答

  • 易语言

    易语言  评论于 [2020-03-02 18:56:30]  回复

    验证码远程代答

欢迎 发表评论:

百度站内搜索
关注微信公众号
三叶资源网⑤群:三叶资源网⑤群

网站分类
随机tag
多线程培训Yy多频道人数查询软件自动更新区块链技术迅雷播放器引擎圆形图像旋转下载链接解析京医通迅雷Aplayer引擎微信发卡机器人JS改写BitBlt汇编版二进制易语言编程基础教程数美AccessibleObjectFrom彗星16进制转10进制聚享游post线程池操作消息监听
最新评论