AutoHook
Downloads
Documentation
Quick Links
Hotkey Terminology
AutoHook Dialog
Options
Window
Program
Import
Export
License
Macro Commands
Definition
AutoHook Commands
AutoCAD Special Keys
Other AutoCAD Keys
DoubleTap Hotkeys
Mouse Buttons
Managing INI Files
Example Macros
Hotkey Limitations
Registration
AutoCAD Special Keys
{esc}
Sends an Escape key press to AutoCAD. Usually used at the beginning of a Macro to cancel any AutoCAD command that may be in progress, guaranteeing that you start off with a blank Command prompt.

{enter}
Sends an Enter key press to AutoCAD. In most cases with AutoCAD, Space and Enter are synonymous. In the few exceptions where this is not the case, the {enter} Macro Command may be used. These exceptions include symbol names, such as blocks and layers, file names, and the creation of text objects. Legacy versions of AutoHook used ^M as Enter in a Macro. This is still supported as the Macro Command {^M}, however it is recommended to use the new {enter} Macro Command instead to guarantee future compatibility.

{^tab}
Sends a Ctrl+Tab key press to AutoCAD. Ctrl+Tab will display the next drawing window in AutoCAD when you have more than one drawing open.

{^#tab}/{#^tab}
Sends a Ctrl+Shift+Tab key press to AutoCAD. Ctrl+Shift+Tab will display the previous drawing window in AutoCAD when you have more than one drawing open.

{space}
Sends a Space key press to AutoCAD. The {space} Macro Command is treated identically to an actual space that may exist in a Macro. The reason for its existence is for clarity. When placed at the end of a Macro, it can be used to easily identify which Macros actually enter the command. Its usage over that of an actual space is entirely optional.

{click}
Sends a default Mouse Button "click" (usually the left Mouse Button) at the mouse position in effect when the Hotkey is pressed.

{click # #}
Sends a default Mouse Button "click" (usually the left Mouse Button) to the X and Y screen coordinates indicated by # and #. Do not confuse "screen" coordinates with AutoCAD's coordinate system - the screen is your Windows desktop. Selecting this item from AutoHook's Insert Macro Command button will fill in the X and Y screen coordinates for you. Keep in mind that if you move the AutoCAD window, or one of its dialogs, your intended X and Y coordinates may change and your Macro should be updated accordingly. This is similar to the plain {click} Macro Command which simulates a click at the current mouse position, except that you have control over where the click occurs.

{{}}
Sends a left curly brace to AutoCAD.

{}}
Sends a right curly brace to AutoCAD.