你绑定的时候 要数窗口在前面就用这个坐标绑定就行了 窗口有任何一个地方在这个坐标点上都行hwnd = dm.GetPointWindow(500, 500)//↑获取“指定坐标”窗口句柄//hwnd = dm.GetMousePointWindow()//↑获取“鼠标指向”窗口句柄dm_ret = dm.BindWindow(hwnd,"normal","windows","normal",0)Delay 200If dm_ret=0 Then MessageBox "绑定“失败”" ExitScriptEnd If//↑绑定“窗口句柄”,支持“前台”和“后台”
//↑绑定之后,全部坐标,转换为“客户区”相对坐标
顶一下

(0)
0%
踩一下

(0)
0%
- 相关评论
- 我要评论
-