User Tools

Site Tools


token:PastClipboard

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
token:PastClipboard [2016/02/21 21:54]
peternlewis Added example usage
token:PastClipboard [2023/09/19 23:36] (current)
peternlewis
Line 1: Line 1:
-The //%PastClipboard%1%// token returns the text of a specified past clipboard.+====== ​PastClipboard ​Token======
  
-The indexes start at 0 for the current ​clipboard, 1 for the previous clipboard, and then onwards for as many clipboards as Keyboard Maestro ​has in its history (the default maximum ​is 200).+The //​%PastClipboard%//​ token returns ​the text of a specified past clipboard. It has the form //​%PastClipboard%<​Index>​%//​ where `<​Index>​` ​is a calculation which specifies which past clipboard to use.
  
-For example, say you copy the name and then the email address of a client, you can then copy a message you can send to your boss like this:+The indices start at 0 for the current system clipboard, 1 for the previous clipboard, and then onwards for as many clipboards as Keyboard Maestro has in its history (the default maximum is 200). 
 + 
 +For example, say you copy the name and then the email address of a client, you can then set the system clipboard to a message you can send to your boss like this:
  
 {{ :​token:​set-clipboard-to-past-clipboard.png?​nolink |}} {{ :​token:​set-clipboard-to-past-clipboard.png?​nolink |}}
 +
 +(i) Note that `%PastClipboard%0%` is equivalent to `%SystemClipboard%`.
 +
 +===== See Also =====
 +
 +* [[/​Clipboards|Clipboards]]
 +
 +=== Tokens ===
 +
 +* [[SystemClipboard|%SystemClipboard%]] token
 +* [[NamedClipboard|%NamedClipboard%]] token
 +* [[TriggerClipboard|%TriggerClipboard%]] token
 +* [[PastClipboardFlavors|%PastClipboardFlavors%]] token
 +* [[SystemClipboardFlavors|%SystemClipboardFlavors%]] token
 +* [[NamedClipboardFlavors|%NamedClipboardFlavors%]] token
 +* [[TriggerClipboardFlavors|%TriggerClipboardFlavors%]] token
 +* [[/​Tokens|All Tokens]]
  
token/PastClipboard.1456109679.txt.gz · Last modified: 2016/02/21 21:54 by peternlewis