昊净电商网

[!--pagetitle--]

大家好,小常来为大家解答以上问题。dnf按键精灵搬砖,按键精灵软件制作dnf刷图脚本很多人还不知道,现在让我们一起来看看吧!

1、大概思路如下:putattachment \"c:\\test_game\", \"*.*\"call plugin.regdll.reg(\"c:\\test_game\\dm.dll\")set dm = createobject(\"dm.dmsoft\")dm_ret = dm.setpath(\"c:\\test_game\")set ws=createobject(\"wscript.shell\")ws.run \"regsvr32 c:\\test_game\\dm.dll /s\"//注册大漠到系统ver = dm.ver()if len(ver) = 0 thenmessagebox \"创建对象失败,检查系统是否禁用了vbs脚本权限\"endscriptend ifhwnd = dm.getforegroundwindow()dm.movewindow hwnd,  0 , 0dm.setdict 1, \"dnf字库.txt\"dim 第一次第一次 = 0delay 500dm_ret = dm.bindwindow(hwnd,\"normal\",\"normal\",\"normal\",0)delay 200if dm_ret=0 thenmessagebox \"绑定“失败”\"exitscriptend ifuservar 行数=1 \"你的仓库在第几行\"uservar 名字=\"仓库\" \"你仓库的名字\"x = 420y=124+(行数-1)*37xx = 500yy=124+行数*37info = dm.fetchword(x,y,xx,yy,\"ddc593\",名字)if len(info) > 0 thendm.setpath \"c:\\test_game\"dm.adddict 0, infodm.savedict 0, \"test.txt\"elsemsgbox  \"不符合条件\"end ifdm.keypress 27delay 300dm.keypress 66delay 300dm.moveto 595, 91dm.leftdowndelay 50dm.leftupdelay 50dodm_ret = dm.findstr(411,122,507,494,名字,\"ddc593\",1.0,intx,inty)if intx >= 0 and inty >= 0 thendm.moveto intx, intydm.leftclickdelay 200dm.moveto intx + 5, inty + 30dm.leftclickdelay 100for 5dm.keypress 8delay 100nextdm.keypress 49delay 100dm.keypress 13delay 100dm.keypress 13delay 100exit doelsedm.keypress 113delay 10end ifloo。

展开查看全文