按键精灵吧 关注:499,571贴子:1,009,417
  • 3回复贴,共1

颜色判断ifcolor,else,提示else不合法,求大神赐教

只看楼主收藏回复

IfColor 878,99,"FFFFFF",0 Then
MoveTo 878, 99
LeftClick 1
MoveTo 655, 666
KeyPress "F9", 1
For 16959
For 10
Delay 2500
MoveTo 362, 654
Delay 100
MoveTo 878, 99
Delay 500
MoveTo 655, 666
Next
FindColorEx 0,150,670,200,"6BB231",0,0.5,intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX, intY
MoveTo 655, 666
End If
Next
End If
Else
MoveTo 655, 666
For 16959
For 10
Delay 2500
MoveTo 362, 654
Delay 100
MoveTo 878, 99
Delay 500
MoveTo 655, 666
Next
FindColorEx 0,150,670,200,"6BB231",0,0.5,intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX, intY
MoveTo 655, 666
Next
End If
加表情的那里(原文没表情)提示第一字符错误代码0,不合法。求怎么解决?


1楼2019-01-27 23:33回复
    求赐教


    2楼2019-01-27 23:35
    回复
      嵌套好乱 发现2处有问题


      IP属地:浙江3楼2019-01-28 00:23
      回复
        因为你if已经结束了


        IP属地:广东来自Android客户端4楼2019-01-28 01:09
        回复