Skip to main content

Get From Clipboard

AutomatR.DefaultActivities.SystemClipboard.GetFromClipboard

The "Get From Clipboard" activity in AutomatR retrieves data from the system clipboard, allowing you to access text or other data stored in the clipboard. This is particularly useful when you need to capture information that has been copied to the clipboard for use in your automation workflows.

Properties

NameDescription
Misc
Display NameProvides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variable or argument containing the desired display name.
Optional
DelaySpecifies the amount of time (in seconds) to wait before executing the "Get From Clipboard" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. Example: If the amount of time is 5 seconds, enter 5.
Output
ResultIt stores the data retrieved from the clipboard in the form of a string variable. String variables containing the clipboard data.

How to use:

  1. Drag and drop the "Get From Clipboard" activity onto the workflow.
  2. Optionally, set the delay for the execution.
  3. Execute the workflow to retrieve data from the clipboard.
  4. The data from the clipboard is stored in the variable specified in the "Result" property for further use in the workflow.

Example:

Consider an example where the "Get From Clipboard" activity is used to retrieve text that has been copied to the clipboard:

Get From Clipboard:
Display Name: "Retrieve Copied Text"
Result: copiedText

In this example, the activity retrieves the text from the clipboard and stores it in the variable "copiedText" for further use in the workflow.

Note: Ensure that data has been copied to the clipboard before executing this activity.