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 02-03-2009, 10:28 PM
trauch trauch is offline
Junior Member
 
Join Date: Feb 2009
Posts: 8
Default easy way to delete top line of text???

I'm using a variable from a text file but the value of the variable changes so I have made a list of values in the text file as seen below
analysis=winter
analysis=rain
analysis=cold
analysis=hail
analysis=wind

Can someone tel me the best way to use automation anywhere to delete the top line of the text file and save the file so that when it is opened next it can read the following value?

Thanks in adance.
Reply With Quote
  #2 (permalink)  
Old 02-04-2009, 04:11 AM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello,

What we suggest is, store all the values like winter, rain, cold, etc in an excel file and get the value from there. At the end of task move the cursor to next cell or value and save the excel file so that in next run the next value is processed.

For your reference, we have attached a sample task. To run this task at your end,

. Please copy .atmn file under location, 'C:\...\My Documents\Automation Anywhere\Automation Anywhere\My Tasks' folder.
. Copy .xls file under C:\.

Run the task 2-3 times. In each run the next value in the list would be displayed.

Hope that helps.
Attached Files
File Type: zip Sample.zip (1.7 KB, 4 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 10:08 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