Keyboard Macro Recorder and Player
You can record and play back keystrokes automatically with the built-in Keyboard Macro tool in Auto Mouse Click. This capability is useful when automating repetitive key sequences. Each keystroke consists of separate key-down and key-up events, and key combinations such as Ctrl + W or Ctrl + Shift + T involve multiple keystroke events managed seamlessly by the recorder and player.
There are three ways to launch the Keyboard Macro tool from the main software window:
- Middle-click anywhere in the main window to open the context menu and select Launch Keyboard Macro.
- Click the top-left application icon to open the main menu and select Launch Keyboard Macro.
- Click the # button on the main toolbar as shown in the screenshot above and choose Launch Keyboard Macro.
Once launched, the recorder and player interface makes recording and replaying keyboard macros straightforward. The top section contains the recorder controls, while the bottom section handles playback settings and global hotkeys.
In the screenshot above, recorded keystrokes are listed and assigned to hotkey F6 for Start/Stop playback. You can set the repeat count to execute the sequence multiple times automatically. The Keyboard Macro window is resizable and retains its window size and position across sessions. Furthermore, recorded keystrokes can be saved to a data file and triggered from a standard script using the Launch App Action.
Executing saved keyboard macro files within a script enables you to combine keyboard automation with mouse clicks, window controls, and other macro actions. Auto Mouse Click supports over 60 distinct macro action types covering mouse, keyboard, window, and system automation.
The screenshot above highlights the wide selection of available macro action types. The Keyboard Macro editor allows you to customize exact delay intervals before key-down and key-up events. To combine mouse and keyboard recording into a single macro, you can also utilize the Macro Recording Action within your main script.