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 11-24-2008, 01:47 AM
DavidCAllen DavidCAllen is offline
Junior Member
 
Join Date: Nov 2008
Posts: 7
Default Loop from File, variables?

Good Moring

Having read the help files I have a basic understanding of the Loop from File process, my question is in relation to variable values to be gained from each file in per iteration?

I would like to have the following variables:

Position=
Barcode=
Serial=
Name=

Each text file will have the values to these variables, for example:

Text File 1

Position=40
Barcode=123456
Serial=787890
Name=Device1

I would like the Loop section of the automation to on each loop get its values from the text file.

Is this possible? And if it is would you be able to give a quick example or explanation.

Many thanks

David
Reply With Quote
  #2 (permalink)  
Old 11-24-2008, 09:41 AM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello,

Using Automation Anywhere you can automate data transfer, data Import/Export, etc. Transferring data between two applications or importing data into any application is one of the popular usages of Automation Anywhere. Using Automation Anywhere, you can transfer data from any application to any other application. For e.g. Transfer data from Excel to a webpage or from webpage to the Excel, or transfer data from text files to a CSV file, etc.

You can refer to various online examples for data transfer from following link, http://www.tethyssolutions.com/autom...mples.htm#data

In addition, for your reference, we have attached a sample task that transfers data from all the text files in a folder say C:\Temp into a CSV file. Please extract .txt files in an attached zip file under C:\. It would automatically create ‘Temp’ folder under C:\. Please copy attached .atmn file under location, 'C:\...\My Documents\Automation Anywhere\Automation Anywhere\My Tasks' folder.

Before running this task, you need to create four variables namely $Position$, $Barcode$, $Serial$ and $Name$ through Variable Manager.

To create variable please follow below mentioned steps,

1. Go to Tools->Variable Manager in Automation Anywhere.
2. Click on “Add New Variable”.
3. From "Type" dropdown, select "Value".
4. In “Name” field, enter “Position”.
5. In “Value” field enter any value say '0'.
6. Press “Save”. Press “Ok”
7. Similarly create remaining three variables.

Hope that helps.
Attached Files
File Type: zip David.zip (1.3 KB, 15 views)
Reply With Quote
  #3 (permalink)  
Old 11-26-2008, 03:10 AM
DavidCAllen DavidCAllen is offline
Junior Member
 
Join Date: Nov 2008
Posts: 7
Default

Works a treat many thanks
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:17 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