|
发表于 2024-10-16 18:44:59
|
显示全部楼层
四川省宜宾市
https://bbs.125.la/forum.php?mod ... 14828255&extra=,把大漠找图高级放源码里编译出模块使用
窗口程序集名 | 保 留 | 保 留 | 备 注 | 窗口程序集_启动窗口 | | | | 变量名 | 类 型 | 数组 | 备 注 | 大漠 | 大漠 | |
大漠. 大漠_初始化 ()变量名 | 类 型 | 静态 | 数组 | 备 注 | 返回 | 文本型 | | | 坐标组 | 文本型 | | 0 | 坐标 | 文本型 | | 0 | n | 整数型 | | |
返回 = 大漠. 大漠_找图高级 (“图B”, 0.9, , 749, 290, 1272, 796 )坐标组 = 分割文本 (返回, “|”, ) 计次循环首 (取数组成员数 (坐标组 ), n ) 坐标 = 分割文本 (坐标组 [n ], “,”, ) 如果真 (到数值 (坐标 [1 ]) > 0 且 到数值 (坐标 [2 ]) > 0 )  大漠. 大漠_鼠标移动 (到数值 (坐标 [1 ]), 到数值 (坐标 [2 ]))   大漠. 大漠_单击鼠标 ()  计次循环尾 ()|
大漠_找图高级 | 文本型 | | |
图片名 | 文本型 | | | | 相似度 | 小数型 | | | | 查找方向 | 整数型 | | | | 左上x | 整数型 | | | | 左上y | 整数型 | | | | 右下x | 整数型 | | | | 右下y | 整数型 | | | |
变量名 | 类 型 | 静态 | 数组 | 备 注 | 找到图坐标 | 文本型 | | | 找图名字 | 文本型 | | | 找图方式 | 文本型 | | |
找图方式 = “FindPicEx”找图名字 = 图片名 如果 (是否为空 (左上x ) = 真 且 是否为空 (右下x ) = 真) 找到图坐标 = dmdxc. 文本方法 (找图方式, 0, 0, 取屏幕宽度 (), 取屏幕高度 (), 找图名字, “000000”, 相似度, 查找方向 ) 如果 (是否为空 (右下x ) = 真)  找到图坐标 = dmdxc. 文本方法 (找图方式, 左上x, 左上y, 取屏幕宽度 (), 取屏幕高度 (), 找图名字, “000000”, 相似度, 查找方向 )  找到图坐标 = dmdxc. 文本方法 (找图方式, 左上x, 左上y, 右下x, 右下y, 找图名字, “000000”, 相似度, 查找方向 ) 返回 (找到图坐标)
|
评分
-
参与人数 1 | 荣誉 +1 |
收起
理由
|
笨潴
| + 1 |
热心帮助他人,荣誉+1,希望继续努力(*^__^*) 嘻嘻! |
查看全部评分
|