Advertisement
DevTricks

Проход мышкой по массиву координат

Nov 7th, 2024
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. CoordXY := []
  2. CoordXY[1] := [1200, 400]
  3. CoordXY[2] := [1300, 400]
  4. CoordXY[3] := [1400, 400]
  5. CoordXY[4] := [1500, 400]
  6.  
  7. for index, element in CoordXY
  8. {
  9.     MouseMove, CoordXY[index][1], CoordXY[index][2]
  10.     MsgBox, % "Координаты номер " index "`n X: " CoordXY[index][1] " Y: " CoordXY[index][2]
  11.     Sleep, 200
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement