Table of Contents
Keyboard Maestro supports several different types of clipboards
Keyboard Maestro's Theme Editor is a simple customization tool that allows you to tweak the way a specific palette looks. (You can change the default palette look in Keyboard Maestro's Preferences as well as several other default palette types.). You can share a macro to the Keyboard Maestro Forum, or to a friend via Mail or Messages using the sharing button at the top of the Macros window. You can also trigger macros by name using the Trigger Macros by Name action, which in turn can be in a macro and triggered any way you desire. This forum is for discussions relating to the “hardware” side of string instruments, it should include issues relating to:making, repairing, authenticity, buying, selling, instrument values, and so on.
- 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
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
![Keyboard Maestro Forum Keyboard Maestro Forum](https://forum.keyboardmaestro.com/uploads/default/original/2X/9/90ed5c7612d45bf397b6c3c3a5dde347d9b60232.png)
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
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 .
Keyboard Maestro Forum
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.
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
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.
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
Triggers
Forum
External Sites
edited September 2019 in The Archive
Here's a list of discussions about Keyboard Maestro or Alfred macros you will surely find interesting.
How to Contribute
- Create a discussion with your macro or internet find, preferably in the 'The Archive' category
- Add a reply to this discussion with a link and maybe short description
- Please do not discuss macros here to keep the overview nature; replies that do not expand the list will be deleted
Keyboard Maestro For Windows 10
Author at Zettelkasten.de • https://christiantietze.de/
Comments
Keyboard Macro Mac
- @Will 's Keyboard Maestro macros:
- Convert The Archive's copied links from [[YYMMDDHHMM Title]] to [[YYMMDDHHMM]] Title, a.k.a. Convert and insert note link
Will Simpson
I'm a Zettelnant.
Research: Rationalism, Zen, Non-fiction Creative Writing
kestrelcreek.com - (Split off from main post)@kaidoh 's Keyboard Maestro macros:
- Quick insertion of tags with type-ahead search, a.k.a. tag auto-completion
- Quick insertion of links to other Zettels with type-ahead search, a.k.a. auto-completion of
[[wiki links]]
. - Quick insertion of URLs to notes with type-ahead search, a.k.a. linking to notes with auto-completion from other apps.
Author at Zettelkasten.de • https://christiantietze.de/ - Quick insertion of links to Evernote notes. a.k.a. Using Evernote as a PDF and article archive.Will Simpson
I'm a Zettelnant.
Research: Rationalism, Zen, Non-fiction Creative Writing
kestrelcreek.com - Inset Note Link with 80 spacing a.k.a. How do you do that cool link per line formatting thing?
Keyboard Maestro macroWill Simpson
I'm a Zettelnant.
Research: Rationalism, Zen, Non-fiction Creative Writing
kestrelcreek.com - Automatic completion when adding a link or a tag to zettel. A.K.A. Using [[ and # to launch type ahead search and insertion of link or tag.Keyboard Maestro MacroWill Simpson
I'm a Zettelnant.
Research: Rationalism, Zen, Non-fiction Creative Writing
kestrelcreek.com Brooklyn effects – panning and zooming tools download free. - edited February 2019Some Fun with Randomness and Context a.k.a Presenting a random note.Keyboard Maestro MacroWill Simpson
I'm a Zettelnant.
Research: Rationalism, Zen, Non-fiction Creative Writing
kestrelcreek.com - Script to print all tags from .txt files (run from archive directory) a.k.a. Create a 'Tag Cloud' note.Keyboard Maestro MacroWill Simpson
I'm a Zettelnant.
Research: Rationalism, Zen, Non-fiction Creative Writing
kestrelcreek.com - Yet another Keyboard Maestro Macro.Quick insertion of links to other Zettels with type-ahead search (using Keyboard Maestro) a.k.a. Insert link into a note interstitially with a [[ and typeahead search. Results are like
[[201901212335]]
Will Simpson
I'm a Zettelnant.
Research: Rationalism, Zen, Non-fiction Creative Writing
kestrelcreek.com - Scans a .bib file for citekeys (e.g. '@author2019'), allows the user to select one of those and inserts it at the current cursor position.Requires 'The Silver Searcher' (https://github.com/ggreer/the_silver_searcher) to be installed.Setup: In the first command ('execute shell script'), replace 'path/to/bibliography.bib' with the path to your .bib file. Seo audit online.
- Inserting links to notes in your clipboard with the 'fancy' table of contents style:See here for the macro:
https://forum.zettelkasten.de/discussion/comment/2559/#Comment_2559Author at Zettelkasten.de • https://christiantietze.de/ - Yet another Keyboard Maestro Macro.Highlight a file or files in Finder and copy to the media directory and create in the system clipboard a formatted link for pasting in a zettel.Output
![](media/001.jpg)
This creates a quick simple macro for an association of an image file with a zettel.Will Simpson
I'm a Zettelnant.
Research: Rationalism, Zen, Non-fiction Creative Writing
kestrelcreek.com - edited July 2019Another macro:
- edited July 2019And one that replaces a text string with another text string in all your zettel bodies (as long as there is no built-in solution) – particularly handy for changing, replacing or deleting tags. Exchange rate definition.
- edited September 2019A macro to visualise the links between a group of selected zettels in The Archive with the tool Graphviz. You need to select the notes in the note list of TA, then trigger it and it will produce an SVG-file with the resulting graph. It can be customised in various ways.
- And one to create a nested list of the children of a selected zettel to a depth of choice – either on a (new) note in The Archive or with the app OmniOutliner that allows folding and unfolding.
- Alfred workflow to create Zettel notes with metadata, updating existing headers upon subsequent launches: https://forum.zettelkasten.de/discussion/675/alfred-workflow-for-creating-new-zettels-including-metadata(Adding this here for @sai because I've just changes the discussion title to include Alfred )Author at Zettelkasten.de • https://christiantietze.de/
- Search The Archive for a UID under the cursor from any application. Can also be easily modified to 'search the archive for whatever is on your clipboard'.
- Will Simpson
I'm a Zettelnant.
Research: Rationalism, Zen, Non-fiction Creative Writing
kestrelcreek.com - edited February 5Creates a new note with all paragraphs containing search term (see screenshots in post).
- Zettel Title Search a.k.a. A simple unsophisticated text only (no regex) Keyboard Maestro macro for searching title names and then displaying the note in the editor window.Will Simpson
I'm a Zettelnant.
Research: Rationalism, Zen, Non-fiction Creative Writing
kestrelcreek.com - Will Simpson
I'm a Zettelnant.
Research: Rationalism, Zen, Non-fiction Creative Writing
kestrelcreek.com - This Keyboard Maestro macro will rename a specified note and update all
[[wikilinks]]
to it. - This Keyboard Maestro macro will open the file in a specified directory with a filename containing the currently selected text.
- Keyboard Maestro macro that creates a new note the can be used for recording details about individual tags. Details are in the link.In the case, the tag is #tag_details but could be anything.Will Simpson
I'm a Zettelnant.
Research: Rationalism, Zen, Non-fiction Creative Writing
kestrelcreek.com - Version 2.0 of the Note Linking TrivectaInsert Inline Note Link (UID only)
[[202008011415]]
Insert Title 1st Note Link -Zettelkasting Dashboard [[202008011415]]
Insert UID 1st Note Link -[[202008011415]] Zettelkasting Dashboard
Will Simpson
I'm a Zettelnant.
Research: Rationalism, Zen, Non-fiction Creative Writing
kestrelcreek.com
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Quick Links
Categories
![Keyboard Keyboard](https://forum.keyboardmaestro.com/uploads/default/original/2X/a/a59d8611112ec44f2359b06098c19ff99032b1a7.png)