Webinar

September 16, 2021 12:00 PM EDT
Automation for insurance carriers & brokersSeptember 16, 2021 12:00 PM EDT
Learn how utilizing a digital workforce can help your employees focus on their main priority - the clients!

DEPRECATED!! Use library RPA.Desktop's clipboard functionality instead.

Clipboard is a library for managing clipboard - copy text to, paste text from, and clear clipboard contents.

Examples

Robot Framework

*** Settings ***
Library    RPA.Desktop.Clipboard

*** Tasks ***
Clipping
    Copy To Clipboard   Text from Robot to clipboard
    ${var}=             Paste From Clipboard
    Clear Clipboard

Python

from RPA.Desktop.Clipboard import Clipboard

clip = Clipboard()
clip.copy_to_clipboard('Text from Python to clipboard')
text = clip.paste_from_clipboard()
print(f"clipboard had text: '{text}'")
clip.clear_clipboard()