![]() |
| |||||||
Automation Anywhere Post messages and questions related to Automation Software here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
|
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 |
| |||
|
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. |
![]() |
| Thread Tools | |
| Display Modes | |
| |