![]() |
| |||||||
Automation Anywhere Post messages and questions related to Automation Software here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
|
Can AA take data from the clipboard (copied from a website) such as: ROSEMARY ST, APPLE VALLEY, CA 92308-3323, SAN BERNARDINO and know what it is looking at? I have to copy all of this text so I need to know if AA can go through the line and pick out what I need (city or zip) to match it against a master list and if the condition is true the script will contnue. THX |
| |||
|
Hello, Using 'If Variable' command you can check if particular string is included in clipboard and inside If-Endif you can use String Manipulation command to extract the zipcode or city. For your reference, we have attached a sample task. Please copy it under location, 'C:\...\My Documents\Automation Anywhere\Automation Anywhere\My Tasks' folder. This task would search for city, SAN BERNARDINO in system variable, $Clipboard$. If found it would extract the zip code and display it in a message box. Note: You need Automation Anywhere 5.5 to run this task. |
| |||
|
Thanks for for the reply I don't need to extract the data I just want AA to see that the zip code or city matches against a master list and then " if true" continues running the remaining steps in the script or "if not true" stops. thanks Also does 5.5 have features that would make this eaiser? |
| |||
|
Hello, Yes, in that case just use 'If Variable' command to check if $Clipboard$ contains zip code or city of master list. Inside If-Endif block place the commands to execute when condition is true else stop the task. The text format of commands would appear something like this, 1) If $Clipboard$ Includes "92308-3323" Then //Commands to execute 2) Else 3) Stop The Current Task 4) End If Hope that helps. |
![]() |
| Thread Tools | |
| Display Modes | |
| |