我想要loop循环5次这段代码,然后记录下来这5次分别移动的坐标值,该怎样来实现呢,代码如下:
Start:
If Findtext(OutputVarX, OutputVarY, (960-100), (540-100), (960+100), (540+100), 0.20, 0.20, “|<>0xFF7201@0.55$15.1k0DUVz67yTztzzDzvzztzo3s0C4”) {
TtlDst := Sqrt((OutputVarX – 960)^2 + (OutPutVarY – 530)^2)
If (TtlDst > 20){
Dllcall(“mouse_event”, UInt, 1, Int, Ceil((OutPutVarX – 960)/(0.71*4)), Int, Ceil((OutPutVarY – 530)/(0.71*4)))
}
Else If (20 >= TtlDst){
Dllcall(“mouse_event”, UInt, 1, Int, Ceil((OutPutVarX – 960)/(0.71*2)), Int, Ceil((OutPutVarY – 530)/(0.71*2)))
}
}
Return