按键精灵求一个一边找图一边按键的代码,高手赐教,不胜感激!

2024-12-02 12:17:52
推荐回答(1个)
回答1:

Do
FindPic 0, 0, 1600, 1200, "Attachment:\图片名称.bmp", 0.9, intX, intY
If intX > 0 And intY > 0 Then
MoveTo intX, intY
Delay 100
LeftClick 1
Exit Do
Else
KeyPress "F1", 1
Delay 100
KeyPress "F2", 1
Delay 100
End If
Delay 1000
Loop
点击后还需要找图吗