![]() |
| |||||||
Automation Anywhere Post messages and questions related to Automation Software here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
|
is it possible to set the value of a variable read from a file? do I have to write a new value back into the file in order to change the value of a variable read from a file? |
| |||
|
Hello Phil, Yes, it is possible to set the value of a variable read from a file (say $GlobalVar$). Using 'Log To File' command, you can update value of $GlobalVar$. You can use this variable value in any number of tasks or sub tasks. The value of $GlobalVar$ will not change until you update the text file. Text format of 'Log to File' command would appear something like this, Log to File: GlobalVar=ValuetobeAssigned in "C:\textfile.txt" Hope that helps. |
![]() |
| Thread Tools | |
| Display Modes | |
| |