AHK
Script Generator
AutoHotkey v1 & v2
New Hotkey
Trigger Type
Hotkey (key combo)
Hotstring (typed word)
Modifier Keys
one or more
Ctrl
Alt
Shift
Win ⊞
Pass-thru
Wildcard
Trigger Key
— preset —
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
F1
F2
F3
F4
F5
F6
F7
F8
F9
F10
F11
F12
Numpad0
Numpad1
Numpad2
Numpad3
Numpad4
Numpad5
Numpad6
Numpad7
Numpad8
Numpad9
Space
Tab
Enter
Escape
Backspace
Delete
Insert
Home
End
PgUp
PgDn
Up
Down
Left
Right
PrintScreen
ScrollLock
Pause
CapsLock
NumLock
LButton
RButton
MButton
`;`
'
,
.
/
\
[
]
-
=
Abbreviation / Trigger Word
what you type to fire it
Hotstring Options
optional
Instant (*)
Inside Word (?)
Case Sensitive (C)
Keep Text (B0)
Type your abbreviation anywhere → AHK replaces/expands it and runs the action. Example: typing
sgatelog
fires the macro.
Hotkey:
—
Action Type
⚡ Multi-line Script (SendInput + sleep)
Quick Text (single SendInput)
Run Program / Command
Open URL
MsgBox Popup
Paste Clipboard Text
Raw AHK Code
Action
⌨ Special Key Palette — click to insert at cursor
▼
Insert Command
SendInput,
sleep,
Insert Key
Script Body
each line becomes one line in the .ahk file
Comment / Description
optional
+ Add Hotkey
Hotkeys Added
No hotkeys yet. Build one above.
Generated Script
AHK v1
AHK v2
⊘ Clear All
⎘ Copy
↓ Download .ahk
Hotkeys:
0
Lines:
0
Version:
AHK v1