![]() |
| |||||||
Automation Anywhere Post messages and questions related to Automation Software here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
|
I have some three hundred files set up and on occassions need to change the same lines of code in all the files. Is there a facility to search and replace without having to open every file and manually change the line.
|
| |||
|
Hello, Can you please tell us more about the command or line of code that you want to change? If it is a value or string then you can replace it with a variable say $GlobalVar$. Create variable, $GlobalVar$ that would read value from a text file through Variable Manager. You can use this variable in any number of tasks. The value of $GlobalVar$ will not change until you update the text file. Now, whenever you want to update the command just change the value of $GlobalVar$ in text file. For more information, please refer to our online task to read variable values from a text file. http://www.tethyssolutions.com/T12.htm Hope that helps. |
| |||
|
Thank you for this suggestion but I do not think that you can use variables when entering the server location. Our problem was related to the fact that we had to change our server and many of the lines of code hold the server reference it was this piece of information that we wanted to change.
|
| |||
|
Hello, Can you please tell us, in which command(s) you want to change the server location? Is it possible for you to upload the task so that we can look into it? You can locate your task by selecting your task from Task List, right clicking that particular task and selecting 'Locate on disk' from context menu. Otherwise, you can also send text format of task. For that, open your task in a Task Editor, go to Tools->Save as text file and send this text file. |
![]() |
| Thread Tools | |
| Display Modes | |
| |