public class RobotClipboard extends Object
Constructor and Description |
---|
RobotClipboard() |
Modifier and Type | Method and Description |
---|---|
void |
cleanClipboard()
Clean clipboard.
|
String |
clipboardText()
Returns text from RPA agent clipboard
|
String |
copySelectedText()
Copies currently selected text and returns it.
|
String |
selectAllTextAndCopy()
Select all text in current window and copies it to clipboard.
|
void |
setClipboardText(String text)
Set text to clipboard
The same as CTRL + V |
public String clipboardText()
Driver Type: Desktop
public String copySelectedText()
Driver Type: Desktop
public String selectAllTextAndCopy()
Driver Type: Desktop
public void setClipboardText(String text)
Driver Type: Desktop
text
- to clipboardNullPointerException
- in case text is null.public void cleanClipboard()
Driver Type: Desktop
setClipboardText(String)
Copyright 2016, WorkFusion, Inc.