Definition and Usage
Add text content or files (including images) to the clipboard. This command allows you to programmatically place content into the system clipboard for later use in pasting operations.
Parameter Values
Input parameters
Parameter | Description | Possible Values | Required | Options / Notes |
Content type to add | Select the type of content to add to the clipboard | Text, File | Yes | Determines which parameters will be available next |
Text content | Text to set to the clipboard | Any text string | Yes (when Content type is Text) | Supports variables insertion |
File path | Enter the file path to set to the clipboard | Valid file path | Yes (when Content type is File) | The file must exist at the specified location |
Error handling
Parameter Name | Description |
Throw error & stop | When an error occurs, the action will trigger an error and stop the execution of the entire app. |
Retry command | If an error occurs, the action will retry the command in an attempt to resolve the issue and continue the process. |
Ignore error & continue | When an error occurs, the action will be ignored, and the workflow will continue without interruption. |
Variables produced
This action doesn't produce any variables.
Using Variables in Conditions
You can use variables in the "Text content" or "File path" fields by clicking the {x} icon or typing the variable name enclosed in curly braces. This allows you to dynamically set clipboard content based on previously captured or calculated values.
Notes
When setting file content to the clipboard, ensure the file exists and is accessible; otherwise, an error will occur.
For text content, there is no practical size limit, but extremely large text strings may impact performance.
When setting image files to the clipboard, common formats like JPG, PNG, and BMP are supported.
The clipboard content will remain available until it is overwritten by another clipboard operation or the RPA process ends.
Content set to the clipboard by this command can be pasted into applications just like manually copied content.