Intelligent Automation & Macro Software  

Go Back   Tethys Solutions 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 07-07-2009, 06:31 PM
GMPLLC GMPLLC is offline
Junior Member
 
Join Date: Jun 2009
Posts: 25
Default Writing to txt file or list variable

First question; Is it possible to write to a txt file without having to open it?
If so, without replacing all of the text?

Second question; is it possible to write to a list variable without having to open the txt file?


Thx
TK
Reply With Quote
  #2 (permalink)  
Old 07-08-2009, 07:35 AM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,311
Default

Hello,

Regarding your queries,

1) Yes it is possible. Using 'Log to File' command you can append the text into the file without opening the file.

2) Yes, it is possible using 'Log to File' command. We have attached a sample task for your reference. To run this task, please copy it under location, 'C:\...\My Documents\Automation Anywhere\Automation Anywhere\My Tasks' folder.

Before running this task, please create a variable, GlobalVar that reads value from a text file.
To create a variable that read from text file, please follow below mentioned steps:
1. Go to Tools->Variable Manager in Automation Anywhere.
2. Click on 'Add New Variable'.
3. In 'Name' field, enter variable name i.e. GlobalVar.
4. Select 'Read from text file' radio button or option.
5. In 'Value' field, specify the path of text file i.e c:\temp.txt.
6. Press 'Save' button.
7. Press 'Ok' button.

Hope that helps.
Attached Files
File Type: atmn LogListVarValues.atmn (429 Bytes, 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 06:21 AM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 ©2007, Crawlability, Inc.
Copyright © 2003-2008 Tethys Solutions, LLC. All rights reserved