AutoHotkey FAQ

Quick answers to the questions readers send most often. Each one links to the page that covers the topic in depth.

Frequently asked questions

What is AutoHotkey?

A free scripting language for Windows used to build hotkeys, expand text, remap keys and automate repetitive desktop tasks. The overview page explains it in full.

Does AutoHotkey work on Windows 11?

Yes, and on Windows 10. Behavior is the same on both; individual applications, not the OS version, cause most differences.

What is the difference between v1.1 and AutoHotkey v2?

v2 uses a consistent expression syntax with quoted text, function-style calls and thrown errors. v1 scripts need converting before they run under v2.

What file extension do scripts use?

The .ahk extension. A script is a plain text file saved with that ending.

How do I create a hotkey?

Write the key combination, two colons, then the action, such as ^!n::Run "notepad.exe".

Why is my hotkey not working?

Another program may own the combination, the target window may be elevated while the script is not, or the key name may be spelled incorrectly.

Is AutoHotkey safe to use?

The language itself is a normal Windows program. Treat scripts like any other code: read what a downloaded file does before running it, since a script can type, click and change files.

Can AutoHotkey automate mouse actions?

Yes, with Click and MouseMove, though keystroke-based paths are more reliable than fixed coordinates.

Is AHK the same as autokey?

People searching for autokey usually mean AutoHotkey; AHK is the common short form of the same tool.


AutoHotkeyTools.com is an independent Windows resource covering AutoHotkey tools, scripts, hotkeys, tutorials and desktop automation. It is not affiliated with the AutoHotkey project.