TracePrint ReadUIConfig("互助")
If ReadUIConfig("互助") = True Then
TracePrint "互助"
Dim intX, intY
Call 互助(0, 0, 1080, 1920, "互助1", 0.8)
Function 互助(x1,y1,x2,y2,图片名称,相似度)
FindPic x1, y1, x2, y2, "Attachment:"&图片名称&".png","000000",0, 相似度, intX, intY
If intX >-1 AND intY >-1 then
TracePrint "找到啦,坐标是"&intX&","&intY
Tap intX, INTY
Else
TracePrint "没找到"
End If
TracePrint "我是自定义函数,被你调用了"
互助="把过程中想要返回的信息写这里"
End Function
End If