Quick Notes for AutoHotKey V1
- To Send a key twice, just add a space and a number.
- e.g., Send {Backspace 2}
- Have not figured out how to do this with strings, if possible.
Template
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
; ! = alt
; ^ = ctrl
; + = shift
; Maintenance keys
!r:: Reload
!p:: Pause
!ESC:: ExitApp