Clipboard
The Clipboard action puts text directly into the system clipboard with smart text shaping options, so you can standardize casing, trim and sanitize captured text, add prefixes/suffixes with custom separators, enforce length limits, and control whether empty inputs are skipped. It supports copy, append, prepend, and clear modes, and it runs in the foreground as required by the action’s platform behavior.
Required Parameters
Mode(Copy,Append,Prepend,Clear)Template(defaults totext)Separator(used for append/prepend behavior; supports escape sequences like\n,\t,\r)Text Case(None,Lowercase,Uppercase,Title,Sentence)Trim Whitespace(on/off; default: on)Strip Punctuation(on/off; default: off)Max Length(integer, minimum0)Ignore Empty Input(on/off; default: on)
Commands
Copy
- Required inputs:
Template, plus optional text-processing options (Trim Whitespace,Strip Punctuation,Text Case) and limits (Max Length,Ignore Empty Inputgate). - Constraints/ranges:
Max Length:0+; when0, no truncation is applied.- If
Ignore Empty Inputis on and the processed text is empty/whitespace-only, execution exits without changing the clipboard. \n,\t,\rin separator are unescaped for output formatting.
- Supported targets/options: replaces the clipboard content with the processed template output.
Append
- Required inputs:
Template,Separator, plus optional text-processing options and limits. - Constraints/ranges:
- Same as Copy for processing and truncation.
- Append behavior:
- If existing clipboard is empty, writes template output only.
- If template output is empty after processing, existing clipboard is preserved.
- Supported targets/options: appends to existing clipboard with separator only when both sides contain non-empty trimmed text.
Prepend
- Required inputs:
Template,Separator, plus optional text-processing options and limits. - Constraints/ranges:
- Same as Copy for processing and truncation.
- Prepend behavior:
- If existing clipboard is empty, writes template output only.
- If template output is empty after processing, existing clipboard is preserved.
- Supported targets/options: prepends to existing clipboard with separator only when both sides contain non-empty trimmed text.
Clear
- Required inputs: none beyond action setup.
- Constraints/ranges: output is always empty; clipboard is set to
""regardless of template/transform settings. - Unsupported combinations: text processing options, separator, and
Max Lengthare effectively non-operational for this mode since the result is forcibly cleared.