AutoHotkey Use functions instead of labels Very basic example demonstrating function use on SetTimer.


Example

;Sends the keystroke for the letter "a" every 3 seconds.
#Persistent
SetTimer, SendLetterA, 3000
return

SendLetterA() {
    Send, a
}