找回密码
 加入
搜索
查看: 1169|回复: 0

[AU3基础] 区域找色

[复制链接]
发表于 2021-10-18 18:15:08 | 显示全部楼层 |阅读模式
;我是小白,仅供大家参考。
#include <MsgBoxConstants.au3>
While 1
        Sleep(500)
        Local $iColor1 = PixelSearch(911, 843 ,1030, 856, 0x07C160)
        If Not @error Then
                ;MouseMove($iColor1[0], $iColor1[1], 0)
        Sleep(500)               
                MouseClick("left", $iColor1[0], $iColor1[1], 1)
    MsgBox (0, "","ok")               
        ExitLoop(1)       
endif
WEnd
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-4-19 11:58 , Processed in 0.069139 second(s), 19 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表