n = 0DoFindColor 0,0,1024,768,"C44AFF",intX,intYIf intX > 0 And intY > 0 Then LeftClickS 1n = n + 1End If If n = 43 Then Exit Do End IfLoop这样写才是一直不停,一直到点击了43次,才会停下。