Webinar

July 20, 2021 12:00 PM EDT
Automation for healthcare providersJuly 20, 2021 12:00 PM EDT
$25,000 in giveaways for attendees - get your first bot implementation for free

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()