SAP Help Home SAP Intelligent RPA Help Portal SAP Intelligent RPA Community

Module - Clipboard

Collection of activities related to clipboard management. Use get or set in order to retrieve or define the current value of the OS clipboard.

Activities

Get Clipboard

Retrieve the textual content of the clipboard. The content is hidden in the timeline.


Technical Name Type Minimal Agent Version
get asynchronous WIN-3.24, MAC-3.24, CLOUD-3.34

Output Parameters:

Name Type Description
content string Content of the clipboard in string format. Only a string can be retrieved from the OS clipboard.

Sample Code:

const text = irpa_core.clipboard.get ();



Set Clipboard

Clear the clipboard and then set text on the clipboard.


Technical Name Type Minimal Agent Version
set asynchronous WIN-3.24, MAC-3.24, CLOUD-3.34

Input Parameters:

Name Type Attributes Default Description
value string mandatory Clipboard content. This is hidden in the timeline.

Sample Code:

await irpa_core.clipboard.set('Hello world');