大漠插件的orc返回值怎么一直是空的
http://bbs.anjian.com/showtopic-384758-1.aspx具体参考这个~ 11楼那个代码我复制过来 还是返回空以下是我的代码
Sub 大漠注册 need_ver = "3.1233" set ws=createobject("Wscript.Shell") ws.run "regsvr32 atl.dll /s" Set ws = nothing PutAttachment "d:ajlfj","*.*" PutAttachment ".Plugin" ,"RegDll.dll" Call Plugin.RegDll.Reg("d:ajlfjdm.dll") set dm = createobject("dm.dmsoft") dm_ret = dm.SetPath("d:ajlfj")
//获得插件版本号 ver = dm.ver() //判断插件是否成功 If len(ver) = 0 Then //如果返回值"ver"的长度为0,则插件注册失败 MessageBox "插件注册失败,检查系统是否禁用了vbs脚本权限" //结束脚本 EndScript Else TracePrint ver //否则,注册成功 End If Delay 100End Sub
Call Lib.模拟真实键鼠.大漠注册
Delay 1000dm_ret = dm.SetDict(0,"D:ajlfjdm_soft.txt")Call zhaoziSub zhaozis = dm.Ocr(151,185,670,474,"000000-000000",0.9) MsgBox(sb)End Sub
Sub OnScriptExit() dm.UnBindWindowEnd Sub
您所在的用户组无法下载或查看附件您所在的用户组无法下载或查看附件