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 01-21-2009, 03:36 PM
KenRyan KenRyan is offline
Member
 
Join Date: Jan 2009
Posts: 37
Default "If Variable" Works With "Fix" But Not "Variable"?

Me again. Can anyone tell me what I'm doing wrong with a certain command?

I succeed with deleting a specific file from a list by looping file-by-file through the folder, and using the "If $FileName$ Includes" command, followed by "then delete files $Filename$.$Extension." In the "If Variable" window, my operator is "Includes," and I entered a a single letter that only appears in one filename into the "Fix" window. Works like a charm.

HOWEVER, I can't figure out how make it work with multiple parameters. I have tried creating a list variable with a couple of entries in it that occur only in two of the files. But that ends up not deleting anything.

I also tried creating text file list variable, but that does the opposite, and deletes ALL the files in the folder.

I attached two AA files, one that works, and one that doesn't.

I'm sure this is something really easy, but I'm just to new at this

Can someone take mercy on me?

Thanks!

Ken
Attached Files
File Type: atmn Delete Test That Works.atmn (300 Bytes, 1 views)
File Type: atmn Delete Test That Fails.atmn (300 Bytes, 0 views)
Reply With Quote
  #2 (permalink)  
Old 01-21-2009, 04:38 PM
KenRyan KenRyan is offline
Member
 
Join Date: Jan 2009
Posts: 37
Default

THIS problem is solved! I didn't have the txt file list formatted correctly. Once I did that, it worked. Now for the rest of it.

Ken
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:51 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