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,
You will see a Dashboard as shown in below image and you can create a new bot through highlighted button ‘create a bot’-
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
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.
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'.
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.
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’
Print variable through Message Box
- Find message box from ‘Action’ pane
- Drag and Drop message box into the view
- Change default settings of message box
- Change message box title
- Select ‘ContentVariable’
Where output will look like after running the bot.
Conclusion
In this article, how to work with ‘clipboard’ action in environment of Automation Anywhere.