|
Call hh_图片("Attachment:\1.bmp","Attachment:\2.bmp","Attachment:\3.bmp","Attachment:\4.bmp")
Function hh_图片(tp,tp1,tp2,tp3)
FindPic 0, 0, 1280, 720, tp, 0.9, intx, inty
FindPic 0, 0, 1280, 720, tp1, 0.9, itx, ity
FindPic 0, 0, 1280, 720, tp2, 0.9, ntx, nty
FindPic 0, 0, 1280, 720, tp3, 0.9, inx, iny
If intx >= 0 and inty >= 0 Then
TracePrint "找到1"
Else
TracePrint "找不到1"
End If
Delay 300
If itx >= 0 and ity >= 0 Then
TracePrint "找到2"
Else
TracePrint "找不到2"
End If
Delay 300
If ntx >= 0 and nty >= 0 Then
TracePrint "找到3"
Else
TracePrint "找不到3"
End If
Delay 300
If inx >= 0 and iny >= 0 Then
TracePrint "找到4"
Else
TracePrint "找不到4"
End If
End Function |
|