This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
token:PastClipboard [2017/09/04 23:44] peternlewis |
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 indices 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 ===== | ===== See Also ===== | ||
+ | |||
+ | * [[/Clipboards|Clipboards]] | ||
=== Tokens === | === Tokens === | ||
Line 13: | Line 19: | ||
* [[SystemClipboard|%SystemClipboard%]] token | * [[SystemClipboard|%SystemClipboard%]] token | ||
* [[NamedClipboard|%NamedClipboard%]] token | * [[NamedClipboard|%NamedClipboard%]] token | ||
- | * [[TriggerClipboard |%TriggerClipboard%]] token | + | * [[TriggerClipboard|%TriggerClipboard%]] token |
+ | * [[PastClipboardFlavors|%PastClipboardFlavors%]] token | ||
+ | * [[SystemClipboardFlavors|%SystemClipboardFlavors%]] token | ||
+ | * [[NamedClipboardFlavors|%NamedClipboardFlavors%]] token | ||
+ | * [[TriggerClipboardFlavors|%TriggerClipboardFlavors%]] token | ||
* [[/Tokens|All Tokens]] | * [[/Tokens|All Tokens]] | ||