User Tools

Site Tools


Clipboards

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
Clipboards [2018/07/25 19:34]
JMichaelTX [System Clipboard]
Clipboards [2018/08/03 19:32]
JMichaelTX ADD section on Clipboard Condition
Line 29: Line 29:
  
 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. 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.
 +
 +==== 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://​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 126: Line 129:
   * [[token:​NamedClipboard|%NamedClipboard%]]   * [[token:​NamedClipboard|%NamedClipboard%]]
   * [[token:​PastClipboard|%PastClipboard%]]   * [[token:​PastClipboard|%PastClipboard%]]
 +
 +===== Clipboard Condition =====
 +
 +The [[condition:​Clipboard|Clipboard Condition]] may be used with [[Actions|Macro Actions]] like [[action:​If_Then_Else|IF/​THEN]] to branch control based on criteria concerning the data on the Clipboard. ​ For details see: [[condition:​Clipboard|Clipboard Condition]]
 +
  
 ===== See Also ===== ===== See Also =====
Clipboards.txt · Last modified: 2021/10/01 03:14 by peternlewis