Autohotkey function code example
Example 1: autohotkey hotkeys
#^!s:: ;This occurs when pressed Windows Button+Control+Alt+s
Send Sincerely,{enter}John Smith ; This line sends keystrokes to the active (foremost) window.
return
Example 2: autohotkey
toggle = 0
#MaxThreadsPerHotkey 2
F8::
Toggle := !Toggle
While Toggle{
Click
sleep 100
}
return