按键精灵吧 关注:500,271贴子:1,029,083
  • 0回复贴,共1

求大神看看 怎么按不同的键 执行不同的图片链接,应该加什么

取消只看楼主收藏回复

Do
加入按键z
KeyPress "m", 1
Delay 50
i=0
While i=0
FindPic 558,852,596,891,"Attachment:\第一张链接图片.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
KeyPress "m", 1
i=1
End If
Wend
加入按键x
KeyPress "n", 1
Delay 50
i=0
While i=0
FindPic 558,852,596,891,"Attachment:\第二张链接图片.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
KeyPress "n", 1
i=1
End If
Wend
加入按键c
KeyPress "b", 1
Delay 50
i=0
While i=0
FindPic 558,852,596,891,"Attachment:\第三张链接图片.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
KeyPress "b", 1
i=1
End If
Wend
Loop


1楼2015-02-14 13:12回复