Keyboard Maestro supports several different types of clipboards
The System Clipboard is the clipboard that you will use and work with the most.
⚠️ Keep in mind that the System Clipboard is involved in all operations (Actions) that transfer data between the user interface (documents, menus, web pages,etc) and Keyboard Maestro.
For example, all of these Actions go through and will change the System Clipboard:
The System Clipboard is a complicated entity, and often contains many different flavors of the same data last copied from an app. To better understand how Keyboard Maestro processes the System Clipboard, see this Forum post by @PeterNLewis. In particular, this post deals with getting plain text from the System Clipboard.
The Clipboard History keeps version history of the last two hundred times you have copied something to the System Clipboard. You can then paste any previous system clipboard by triggering the Clipboard History Switcher macro. This is a very powerful and useful feature.
If you enable the Save Clipboard History to Disk preference in the Keyboard Maestro General preferences, the clipboard history will be saved and restored when Keyboard Maestro Engine is quit and relaunched (such as when you restart or upgrade). Otherwise it will be reset each time you quit the Keyboard Maestro Engine.
The Clipboard History Switcher is a built-in Macro, which you can find in the Keyboard Maestro Editor, in the Switcher Group in the Macro Groups.
To trigger the Clipboard History Switcher, press the default hotkey of ⌘⌃⇧V (or a hot key of your choosing).
For more info, see Clipboard History Switcher documentation.
There is no one built-in Macro or Action that will paste from the Clipboard History, but you can easily do this by making use of the Set_Clipboard_to_Past_Clipboard Action.
For example, to paste from the 2nd item on the Clipboard History (where the latest, most recent item is #1), you can use these three Actions in a macro:
For more discussion on this, see this Keyboard Maestro Forum post .
A Named Clipboard is not a true clipboard like the Mac’s System Clipboard. Rather it is simply a means to permanently store (like a file does) clipboard contents (like images or styled text) that can later be used to place on the System Clipboard.
Example Use of Named Clipboards
⚠️ Note that Keyboard Maestro provides a named clipboard with the name of “Default Clipboard”. It is nothing special, and acts like any other named clipboard. The “Default” in the name means nothing more than that it was provided by default. Do not mistake this for the System Clipboard.
There are a variety of actions for accessing or processing the clipboard. These allow you to build macros that operate on the clipboard.
Actions That Directly Use Clipboards
For more info, see Clipboard Actions documentation.
In addition to the above Actions that use Clipboards, there are several Clipboard Tokens that can be used in any Action which has a field for Clipboards, Variables, or text.