What are some alternatives to using the clipboard feature in Automation Anywhere? I'm told using the clipboard feature is not ideal for consistency.

3 Answers

Tanmay Gawankar On

That is True. Even if user is not using the system while AA bot is running, some background services might kick in and use clipboard(only id programmer have used it)

Note: Sometimes, depending on situation. Like a secure excel files where if we need to copy data between workbooks/sheets, we are stuck with Ctrl+C and Ctrl+V

Alternatives go as below: 1. For values, use variables instead of clipboard 2. Excel files, use Get Cell and Set Cell also consider connecting to Excel as database 3. File Copy, use the Copy File option

I cannot think of anymore scenarios as of now, but let me know what exactly were you trying to do.

Timsi On

You can create a variable instead of using clipboard. Steps to create variable:

  1. Select the variable manager from the extreme right side of workbench window
  2. click on Add at the bottom of variable manager section
  3. In Add Variable window, provide the details of the variable which needs to be created

You can refer How to create variables in Automation Anywhere Client

Gautam Poddar On

You should use 'Prompt-Assignment' variable for holding temporary values. Use of 'Clipboard' should only be done where a Ctrl+C action needs to be performed however the value should immediately be transferred in 'Prompt-Assignment' or any other variable for holding the values.