---
type: link
tags: [public]
created: 2025-11-06T02:51:46.190Z
updated: 2025-11-15T20:19:55.757Z
---# ahk2 | Run a loop with a counter.

**URL:** [https://www.autohotkey.com/v2/](https://www.autohotkey.com/v2/)

ahk2 | Run a loop with a counter. Loop, 10 { MsgBox, Iteration %A_Index% }


---
**Keywords:** public
