Intelligent Automation & Macro Software  

Go Back   Automation Anywhere, Inc. Forums > Products Zone > Automation Anywhere
Register FAQ Search Today's Posts Mark Forums Read

Automation Anywhere Post messages and questions related to Automation Software here.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-31-2008, 08:32 PM
rlauretta rlauretta is offline
Junior Member
 
Join Date: Oct 2008
Posts: 13
Default Using variables

I have a script that copies the following information into the clipboard:

Address: LOS ALAMITOS AVE, LAGUNA HILLS, CA 92653-6225, ORANGE


I'm only interested in the county "orange". I am trying to write a command that says " If "orange" then continue with the remaining commands, if not then stop. Any ideas would be appreciated.

Thanks
Reply With Quote
  #2 (permalink)  
Old 12-31-2008, 09:21 PM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello,

Using 'If Variable' command you can check if $Clipboard$ includes "orange" then only perform actions in If-End if block else stop the task.

You can find 'If Variable' command under Conditions/Loops command category. With this command, you can perform hundreds of checks.

For your reference, we have attached a sample task. Please copy it under location, 'C:\...\My Documents\Automation Anywhere\Automation Anywhere\My Tasks' folder.

Before running this task, please copy the following text.

Address: LOS ALAMITOS AVE, LAGUNA HILLS, CA 92653-6225, ORANGE

Hope that helps.
Attached Files
File Type: atmn IfVariableCmd.atmn (221 Bytes, 5 views)
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -7. The time now is 09:41 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 ©2007, Crawlability, Inc.
Copyright © 2003-2011 Automation Anywhere, Inc. All rights reserved