按键精灵脚本,有条件的循环找2个颜色10次,第一个颜色 FindColor 106,116,502,512,"01C1F0",0,0.9,intx,intyDelay 50If intx >= 0 And inty >= 0 thenDelay 50tap intx,inty第二个颜色FindColor 106,116,363,373,"d69802",0,0.9,intx,intyDel
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/08 15:35:36
按键精灵脚本,有条件的循环找2个颜色10次,第一个颜色 FindColor 106,116,502,512,"01C1F0",0,0.9,intx,intyDelay 50If intx >= 0 And inty >= 0 thenDelay 50tap intx,inty第二个颜色FindColor 106,116,363,373,"d69802",0,0.9,intx,intyDel
按键精灵脚本,有条件的循环找2个颜色10次,
第一个颜色 FindColor 106,116,502,512,"01C1F0",0,0.9,intx,inty
Delay 50
If intx >= 0 And inty >= 0 then
Delay 50
tap intx,inty
第二个颜色FindColor 106,116,363,373,"d69802",0,0.9,intx,inty
Delay 50
If intx >= 0 And inty >= 0
tap intx,inty
跳到异常点Goto yichang
按键精灵脚本求大神.我是特别白的啥也不懂,就会找色点击,大神多多包涵.循环找上面脚本2个颜色10次,若找到第一个颜色点击它,继续循环它本身,若找到第二个颜色点击它,然后跳到指定步骤“异常”,提前结束循环.
按键精灵脚本,有条件的循环找2个颜色10次,第一个颜色 FindColor 106,116,502,512,"01C1F0",0,0.9,intx,intyDelay 50If intx >= 0 And inty >= 0 thenDelay 50tap intx,inty第二个颜色FindColor 106,116,363,373,"d69802",0,0.9,intx,intyDel
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
未测试,你试试.这个循环时间有点短,如果要加长时间直接在延迟上加.