
按键精灵调试时刚运行就停止
FindPic0,0,1023,767,"Attachment:\1.bmp",0.5,intX,intYIfintX>0AndintY>0ThenMoveTointX+...
FindPic 0,0,1023,767,"Attachment:\1.bmp",0.5,intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX+30, intY+60
Delay 500
LeftClick 1
Delay 500
KeyPress "Space", 1
Delay 200
KeyPress "Enter", 1
End If
这是我写的脚本 很简单的输入空格然后发送
调试的时候点开始就 脚本已经停止运行
这怎么解决?用的是按键精灵9.6 展开
If intX > 0 And intY > 0 Then
MoveTo intX+30, intY+60
Delay 500
LeftClick 1
Delay 500
KeyPress "Space", 1
Delay 200
KeyPress "Enter", 1
End If
这是我写的脚本 很简单的输入空格然后发送
调试的时候点开始就 脚本已经停止运行
这怎么解决?用的是按键精灵9.6 展开
展开全部
Rem a
FindPic 0,0,1023,767,"Attachment:\1.bmp",0.5,intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX+30, intY+60
Delay 500
LeftClick 1
Delay 500
KeyPress "Space", 1
Delay 200
KeyPress "Enter", 1
Else
Goto a
End If
这样就行了
FindPic 0,0,1023,767,"Attachment:\1.bmp",0.5,intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX+30, intY+60
Delay 500
LeftClick 1
Delay 500
KeyPress "Space", 1
Delay 200
KeyPress "Enter", 1
Else
Goto a
End If
这样就行了
更多追问追答
追答
不是你附件的问题,应该是它找不到图片,你在抓抓里用找图找色那个功能测试一下,看看在相似度多少的情况下找图比较稳定
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询