30-04-2021



Table of Contents

Displays the Clipboard icon in the notification area of your Windows taskbar when the Clipboard is active. This option is on by default. Show Status Near Taskbar When Copying. Shows the number of items you've collected in the bottom-right corner of the Word window. This option is on by default. Added support for Vista clipboard API (no more broken win32 clipboard chain if you are using Vista) - Fixed multiuser support bug - Changed Navigate functionality into generic Open - Added ability to limit navigating/opening clipboards to URLs only - Added ability to play an optional sound when a clipboard entry is handled by clipx - Improved. Clear clipboard contents. Clears clipboard contents. Input Parameters. This action doesn't require any input; Variables Produced. This action doesn't produce any variables; Exceptions. This action doesn't. Additionally, you can define a data-clipboard-action attribute to specify if you want to either copy or cut content. If you omit this attribute, copy will be used by default. Mussum ipsum cacilds, vidis litro abertis. Clipboard Actions creates actions based on your clipboard and shows them in the status bar as notifications. If you like the project, please give me 5 stars and add a comment on Google Play Store. Or even better: go to the GitHub project to report issues or feature requests!

Keyboard Maestro supports several different types of clipboards

  • System Clipboard — the standard Mac OS X Clipboard used by all Mac apps
    • The alternate name “Current Clipboard” is used in some Macro Actions
  • Named Clipboards — Copy of System Clipboard, or other Named Clipboard, created by user for future use
    • There is usually a default Named Clipboard named “Default Clipboard”, do not confuse this with the Mac’s System Clipboard.
  • Past Clipboards — Prior Versions of the System Clipboard stored in the Keyboard Maestro Clipboard_History
  • Trigger Clipboard — The clipboard referenced by a Clipboard Filter menu selection (or the System Clipboard otherwise).

System Clipboard

The System Clipboard is the clipboard that you will use and work with the most.

Actions That Use The Clipboard

⚠️ 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:

  • and many others

Pause Until Clipboard Changes

Sometimes you will need to wait until the app has completed setting the Clipboard. You can use the CLIPBOARDSEED, in a calculation (CBSeedBefore ≠ CLIPBOARDSEED()) condition in the Pause Until Action to achieve this. Of course you will need to set the Keyboard Maestro Variable CBSeedBefore in an Action before the Action to set the Clipboard.

Discussion

Clipboard Action

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.

Clipboard History

Description

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.

Options

Power Automate Copy To Clipboard

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.

Display History

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).

You can also use the Clipboard_History within the For Each action.

For more info, see Clipboard History Switcher documentation.

Paste from History

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_ClipboardAction.

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 .

Named Clipboards

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.

Purpose

  • Store a copy of another Clipboard (System or Named) that will persist, even across your Mac restarts, until you either change it or delete it.
  • Make changes to a Named Clipboard using Actions like Apply_Style_to_Clipboard.
  • Store styled text, images, etc that cannot be stored in a Keyboard Maestro Variable (which stores only plain text)

Example Use of Named Clipboards

  • Storing styled text and/or images for future use, like a styled email signature or logos.
  • Saving the current System Clipboard for future use
    • To use in other Macros.

⚠️ 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.

Clipboard Action

Named Clipboards are located in the Keyboard Maestro Preferences in their own “Clipboards” panel.

Use the [+] button to create a new named clipboard.

The one-line field at the top-right is the name field.

The big field on the lower-right is the content field.

You can add plain text, styled text, and images simply by pasting into the content field, but if you want to add something like a Keyboard Maestro action you need to use a Copy to Named Clipboard action to get it in there.

Trigger Clipboard

The Trigger Clipboard is not a clipboard per se, but a reference to a clipboard, either the System Clipboard, a past clipboard in the Clipboard History, or a Named Clipboard. It is the clipboard referenced by a Clipboard Filter menu selection in the Clipboard Switcher.

Clipboard Actions

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

    • Delete Current or Past Clipboard in the history of the System Clipboard
    • Set Variable to Text Action using CurrentClipboardToken

For more info, see Clipboard Actions documentation.

Clipboard Tokens

Clipboard actions

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.

Clipboard

These Include:

Clipboard Condition

The Clipboard Condition may be used with Macro Actions like IF/THEN to branch control based on criteria concerning the data on the Clipboard. For details see: Clipboard Condition

See Also

Actions

Functions

  • CLIPBOARDSEED – used to determine when Clipboard has changed

Clipboard Actions & Notes

Triggers

Clipboard Action

Forum

External Sites