"SetToClipboard" activity

Created by akaBot Support, Modified on Tue, 14 Jan at 4:03 PM by akaBot Support

This is about "SetToClipboard" activity.


TABLE OF CONTENTS

  1. Activity program name
  2. Description
  3. Properties
  4. How to use

1. Activity program name

RCA.Activities.Core.SetToClipboard


2. Description

Up to Studio Version 2.0.2.0
Quick Access: Toolbox > Core > Copy to Clipboard


From Studio Version 2.0.3.0
Quick Access: "Toolbox" > Core > Clipboard > Copy to Clipboard
This activity copies and saves text to the clipboard.


Please note that some wording may differ depending on the version.


3. Properties


Property itemProperty nameInput fieldDescription
MiscPublic
Checkbox

The variables and arguments within the activity are written to the log file and pushed to the Center. (For details, refer to "Property Item 'Public'").

Display name

Any String

Reflected in the activity name on the Designer panel.

Input
Text

Enter a value (String type)

Set the text to be copied to the clipboard.

Text FormatDropdown selection

Choose from six options: Text, UnicodeText, Rtf, Html, CommaSeparatedValue, and Xaml.


4. Usage

Let's try pasting the string copied to the clipboard into Notepad.


First, drag and drop Core > Clipboard > Copy To Clipboard and place it.



In the "Input" > "Text" property, enter a string or a variable of type String (in this example, the string "akaBot Studio / Agent 2.2.0.5"). 



Next, to open Notepad, drag and drop "Window Application" > "Open Window" and place it.



In the "Input" > "File Name" property, enter a string or a variable of type String (in this example, the string "C:\Windows\System32\notepad.exe").


Finally, to paste the string copied to the clipboard into Notepad, drag and drop "Window Application" > "Send Shortcut Key" and place it.



In the "Other" section of the properties, click on "Ctrl key" and check the box.



Additionally, from the "Other" section in the properties, select "KEY_V" from the dropdown menu under "Key".


Click "Home > Start" or press the "F5 key" to run the robot, and verify that the string "akaBot Studio / Agent 2.2.0.5" is pasted into the newly opened Notepad.



Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article