首页 > 解决方案 > 如何让鼠标移动到像素位置 | 自动

问题描述

那么,您知道我如何让鼠标一看到它就转到一个像素(移动)的位置吗?

https://www.autoitscript.com/autoit3/docs/functions/MouseMove.htm已经尝试过了,我需要一种将坐标替换为找到像素的位置的方法。

标签: autoit

解决方案


$coord = PixelSearch( 760, 50, 970, 95, 0x16AB39 )
MouseClick('left',$coord[0],$coord[1])


推荐阅读