This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
Clipboards [2017/09/04 04:47] peternlewis |
Clipboards [2018/07/25 19:32] JMichaelTX [System Clipboard] Add section on Pause Until |
||
---|---|---|---|
Line 21: | Line 21: | ||
* [[action:Paste_from_Named_Clipboard]] | * [[action:Paste_from_Named_Clipboard]] | ||
* and many others | * 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 [[function:CLIPBOARDSEED|]], in a calculation (`CBSeedBefore ≠ CLIPBOARDSEED()`) condition in the [[action:Pause_Until|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. | ||
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://forum.keyboardmaestro.com/t/ulysses-no-text-in-clipboard/6742/23?u=jmichaeltx | this Forum post by @PeterNLewis]]. In particular, this post deals with getting plain text from 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 [[https://forum.keyboardmaestro.com/t/ulysses-no-text-in-clipboard/6742/23?u=jmichaeltx | this Forum post by @PeterNLewis]]. In particular, this post deals with getting plain text from the System Clipboard. | ||
Line 36: | Line 40: | ||
==== Display History ==== | ==== 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|Macro Groups]]. | + | 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|Macro Groups]]. |
To trigger the Clipboard History Switcher, press the default hotkey of <key>⌘</key><key>⌃</key><key>⇧</key><key>V</key> (or a hot key of your choosing). | To trigger the Clipboard History Switcher, press the default hotkey of <key>⌘</key><key>⌃</key><key>⇧</key><key>V</key> (or a hot key of your choosing). | ||
Line 128: | Line 132: | ||
* [[action:Activate Clipboard Paste Switcher|Activate Clipboard Paste Switcher]] | * [[action:Activate Clipboard Paste Switcher|Activate Clipboard Paste Switcher]] | ||
* [[:Actions|See all Actions]] | * [[:Actions|See all Actions]] | ||
+ | |||
+ | === Functions === | ||
+ | |||
+ | * [[function:CLIPBOARDSEED|]] -- used to determine when Clipboard has changed | ||
=== Triggers === | === Triggers === |