按键精灵出现一个颜色点击一次鼠标,一共点击43次怎么写

2025-04-15 03:29:33
推荐回答(1个)
回答1:

n = 0
Do
FindColor 0,0,1024,768,"C44AFF",intX,intY
If intX > 0 And intY > 0 Then
LeftClickS 1
n = n + 1
End If
If n = 43 Then
Exit Do
End If

Loop
这样写才是一直不停,一直到点击了43次,才会停下。