How To Work With ‘Clipboard’ Action In Automation Anywhere

Introduction

This article describes how to work with ‘clipboard’ action in Automation Anywhere using community edition. Sometimes we need to copy some content in terms of text from somewhere and use it in another task, so I will explain the same in this article.

If you are a beginner then need to check this article Getting Started Robotic Process Automation using Automation Anywhere to create environment of Automation Anywhere.

Create a New bot

After logging Automation anywhere account through cloud community edition link,

How To Work With ‘Clipboard’ Action In Automation Anywhere

You will see a Dashboard as shown in below image and you can create a new bot through highlighted button ‘create a bot’-

How To Work With ‘Clipboard’ Action In Automation Anywhere

Bot Configuration

After clicking on ‘create a bot’ button, you will get a popup window. It will ask some information about bot which you want to create like-

  • Name of bot
  • Description of bot(optional)
  • Folder location of bot

How To Work With ‘Clipboard’ Action In Automation Anywhere

After clicking on choose option, a popup window will come where you can browse ‘CSharpCorner’ folder and click on choose to set a default location for your new bot.

How To Work With ‘Clipboard’ Action In Automation Anywhere

Add 'Copy to'

After creating bot, you need to go to 'Action' pane on left side and find 'Clipboard' section. Drag & drop 'Copy to' into workspace and add Value as 'This is my content'.

How To Work With ‘Clipboard’ Action In Automation Anywhere

Create Variable for outcome

Let’s create a variable through left side variable pane and click on ‘+’ sign, and select ‘String’ type and name as ‘ContentVariable’ and click on create button.

How To Work With ‘Clipboard’ Action In Automation Anywhere

Add ‘Copy from’

Now you need to go to ‘Action’ pane on left side and find ‘Clipboard’ section. Drag & drop ‘Copy from’ into workspace and assign the output to your ‘ContentVariable’

How To Work With ‘Clipboard’ Action In Automation Anywhere

Print variable through Message Box

  1. Find message box from ‘Action’ pane
  2. Drag and Drop message box into the view
  3. Change default settings of message box
    • Change message box title
    • Select ‘ContentVariable’

How To Work With ‘Clipboard’ Action In Automation Anywhere

Where output will look like after running the bot.

How To Work With ‘Clipboard’ Action In Automation Anywhere

Conclusion

In this article, how to work with ‘clipboard’ action in environment of Automation Anywhere.


Similar Articles