按键精灵脚本,有条件的循环找2个颜色10次,求大神

2025-03-29 09:37:46
推荐回答(1个)
回答(1):

for 10
    findcolor 106,116,502,512, "01C1F0", 0, 0.9, intx,inty
        if intx > 0 then 
        moveto intX,intY
        delay 50
        leftclick 1
        end if
    FindColor 106,116,363,373, "d69802", 0, 0.9, intx,inty
        if intX > 0 then 
        moveto intX,intY
        delay 50
        leftclick 1
        exit for
        end if
next
goto yichang


未测试,你试试。这个循环时间有点短,如果要加长时间直接在延迟上加。