autoit - 如何让鼠标移动到像素位置 | 自动
问题描述
那么,您知道我如何让鼠标一看到它就转到一个像素(移动)的位置吗?
https://www.autoitscript.com/autoit3/docs/functions/MouseMove.htm已经尝试过了,我需要一种将坐标替换为找到像素的位置的方法。
解决方案
$coord = PixelSearch( 760, 50, 970, 95, 0x16AB39 )
MouseClick('left',$coord[0],$coord[1])
推荐阅读
- oracle - 在物化视图中获取表列名、数据类型和列别名
- c++ - #定义C++中的进程
- python - 查找数据框中的所有依赖项
- javascript - 如何从api中获取图像?
- javascript - 如何通过 JS 向 instagram 输入字段输入数据?
- javascript - '' base64 编码了吗?
- github - 当我在 github 中搜索存储库时如何排除头文件?
- terminal - 在 Arduino 上实现串行 CLI
- python - 从 mysql 表导入数据时出现“DEALLOCATE PREPARE stmt”错误
- c# - 每次创建对象时如何在c#中将对象值添加到列表<>并在最后打印列表