Managing INI Files
AutoHook 2026 - AutoCAD Edition.ini
AutoHook stores your Hotkey Definitions
in an INI file located in the Windows application data folder (usually
Program Data
).
It must be named AutoHook 2026 - AutoCAD Edition.ini
AutoHook manages its own INI file, but you may find it useful to keep copies of your INI file(s) in alternate locations.
Use AutoHook's export feature to do so.
This can help organize different sets of hotkeys based on the types of drawings you work with
(e.g., one for decimal units and another for feet and inches).
Drag and Drop Support
To simplify hotkey switching, AutoHook supports drag-and-drop INI file import.
Only one INI file may be dropped at a time, and it must have a
.ini
extension.
You may also drop shortcuts to INI files.
This behaves the same as the Options → Import tab, except the file must have the .ini
extension.
INI File Format
Editing your INI file is not required or recommended, but if you must, use a plain text editor like Notepad.
Do not use word processors like Word or WordPad, which can corrupt formatting. Always save a backup copy or export first.
Legacy versions of AutoHook stored hotkeys in a
[keys]
section. New versions use the section name [AutoHook Hotkey Definitions]
.
All text before the section is ignored. After locating the section, AutoHook reads one Hotkey Definition per line until the end of the file or until a new section appears.
Hotkey Definitions must begin at column 1 and follow this format:
The semicolon at the end is required because many macros end in a space, and some editors automatically strip trailing spaces when saving. AutoHook removes the semicolon when reading the file.
hotkey=macro;
The semicolon at the end is required because many macros end in a space, and some editors automatically strip trailing spaces when saving. AutoHook removes the semicolon when reading the file.
When you're done editing, save the file and restart AutoHook.