Goal of the script: to continually press Numpad0 for 10 seconds each time hotkey is pressed.

Current code:

```
toggle = 0
#MaxThreadsPerHotkey 2

timerToggle:
Toggle := !Toggle
sleep 10000
Toggle := !Toggle

F12::
        SetTimer, timerToggle, -1
     While Toggle{
        send {NumPad0}
        sleep 100
    }
return

```

At present, the script will run as intended, but only once. Attempting to run it again after the first time does nothing. What am I missing?