Clipboards
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| Clipboards [2017/07/15 03:26] – [Clipboard Actions] Add set var to text action JMichaelTX | Clipboards [2024/09/29 02:42] (current) – peternlewis | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | {{: | ||
| ====== Clipboards ====== | ====== Clipboards ====== | ||
| **Keyboard Maestro supports several different types of clipboards** | **Keyboard Maestro supports several different types of clipboards** | ||
| - | * **System Clipboard** -- the standard [[https:// | + | * [[#System Clipboard]] — the standard [[https:// |
| - | * The alternate name "**[[token: | + | * The alternate name " |
| - | * **Named Clipboards** -- Copy of System Clipboard, or other Named Clipboard, created by user for future use | + | * [[#Named Clipboards]] — Copy of System Clipboard, or other Named Clipboard, created by user for future use |
| * There is usually a default *Named Clipboard* named " | * There is usually a default *Named Clipboard* named " | ||
| - | * **Past Clipboards** | + | * **Past Clipboards** |
| + | * [[#Trigger Clipboard]] — The clipboard referenced by a [[trigger: | ||
| ===== System Clipboard ===== | ===== System Clipboard ===== | ||
| - | The System Clipboard is the clipboard that you will use and work with the most.\\ | + | 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. | (!) 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. | ||
| Line 19: | Line 23: | ||
| * [[action: | * [[action: | ||
| * and many others | * and many others | ||
| + | |||
| + | ==== Pause Until Clipboard Changes ==== | ||
| + | |||
| + | |||
| + | Sometimes you will need to wait until the app has completed setting 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 [[https:// | 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 [[https:// | ||
| Line 34: | Line 46: | ||
| ==== Display History ==== | ==== Display History ==== | ||
| - | The Clipboard History Switcher is a built-in Macro, which you can find in the Keyboard Maestro | + | The Clipboard History Switcher is a built-in Macro, which you can find in the Keyboard Maestro |
| To trigger the Clipboard History Switcher, press the default hotkey of < | To trigger the Clipboard History Switcher, press the default hotkey of < | ||
| - | {{:km-clipboard-switcher.png? | + | {{ manual:clipboardhistoryswitcher.png?nolink& |
| You can also use the [[collection: | You can also use the [[collection: | ||
| For more info, see [Clipboard History Switcher documentation](/ | For more info, see [Clipboard History Switcher documentation](/ | ||
| - | |||
| Line 55: | Line 66: | ||
| For more discussion on this, see [[https:// | For more discussion on this, see [[https:// | ||
| - | |||
| Line 72: | Line 82: | ||
| * To restore at end of your Macro. | * To restore at end of your Macro. | ||
| * To use in other Macros. | * To use in other Macros. | ||
| - | |||
| (!) Note that Keyboard Maestro provides a named clipboard with the name of " | (!) Note that Keyboard Maestro provides a named clipboard with the name of " | ||
| + | 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, instead it is a reference to a selected clipboard. Usually it will be the selected clipboard in the Clipboard History Switcher or Named Clipboard Switcher window that you wish to act on with a [[trigger: | ||
| + | |||
| + | For example, if you are viewing the Clipboard History Switcher, and select the third last clipboard entry and then choose a Clipboard Filter from the Gear menu, the Trigger Clipboard will refer to the selected clipboard. | ||
| ===== Clipboard Actions ===== | ===== Clipboard Actions ===== | ||
| Line 92: | Line 117: | ||
| * [[action: | * [[action: | ||
| * [[action: | * [[action: | ||
| - | * [[action:Filter_Clipboard]] | + | * [[action:Filter]] |
| * [[action: | * [[action: | ||
| * [[action: | * [[action: | ||
| Line 106: | Line 131: | ||
| ===== Clipboard Tokens ===== | ===== 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.\\ | + | 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: | These Include: | ||
| + | |||
| * [[token: | * [[token: | ||
| * [[token: | * [[token: | ||
| * [[token: | * [[token: | ||
| - | ===== See Also ===== | + | ===== Clipboard Condition |
| - | ---- | + | The [[condition: |
| + | |||
| + | |||
| + | ===== See Also ===== | ||
| === Actions === | === Actions === | ||
| Line 124: | Line 154: | ||
| * [[: | * [[: | ||
| - | ---- | + | === Functions === |
| + | |||
| + | * [[function: | ||
| + | |||
| + | === Triggers === | ||
| + | |||
| + | * [[trigger: | ||
| ==== Forum ==== | ==== Forum ==== | ||
Clipboards.1500089216.txt.gz · Last modified: by JMichaelTX
