---
type: link
tags: [public]
created: 2025-10-27T09:17:57.483Z
---# 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
