![]() |
| |||||||
Automation Anywhere Post messages and questions related to Automation Software here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
|
I'd like to be able to use the VARIABLE MANAGER to create a variable value that can be used in standard msgbox messages. I'd like to insert "new line" characters ASCII chr(10 ) how shall I best achieve that? |
| |||
|
Hello, What we understand is, you want to insert a newline in message box. Am I right? In that case, what you can do is, 1) Double click on 'Message Box' command. 2) Press 'F2' to select the variable whose value you want to see in message box. Hit Enter key and then insert some text. 3) Save the command. When you will run this task, message box will show you text on new line. Hope that helps. |
| |||
| Quote:
I want to put the NEW LINE character into the VARIABLE. If I press F2 and am entering text, HOW do I include an ENTER key IN THE TEXT of the variable? |
| |||
|
Hello, Could you please tell us exactly where you are going to use this variable with a new line in it? Unfortunately, you cannot create a variable with a new line. However, if you could explain us the scenario in which you want to use such variable then we can help you with some viable solution. We have forwarded your requirement to the product development team for the future version of Automation Anywhere. |
| |||
|
when forming a message box message, I would like to be able to reuse text strings containing the new line character. For example, I'd like a message that says Window XXXX not found Please call Phil at 888.555.1111 By having the string "[new line][new line] Please call Phil at 888.555.1111" I can re-use the string for various chained tasks. I would think that the implementation of the variable manager would be to use the same input solicitor as you use for inputting text strings in the "enter keystrokes" command. that way, we would have the same flexibility to enter any string. best Phil |
| |||
|
Hello, In that case, what you can do is, 1) Create one variable of Value type through Variable Manager let’s say $Abc$ and assign predefined string (Please call Phil at 888.555.1111) to it. 2) Double Click on Message Box command and hit Enter to enter a new line and then press F2 to select variable $Abc$. 3) Or insert text say ' Window XXXX not found', hit enter and then press F2 to select variable $Abc$. We have created sample task (NewLineInMsgBox.atmn) for your convenience. Copy it under location, 'C:\...\My Documents\Automation Anywhere\Automation Anywhere\My Tasks' folder. Before running this task initialize $Prompt-Assignment$ with "Please call Phil at 888.555.1111" (using Variable Manager) Hope that helps. |
| |||
|
Hello, Can you please email us your phone number at http://www.tethyssolutions.com/support_form.htm so that one of our Technical Support staffs can call you to help you resolve the problem. Alternatively, you can reach us at 1-888-484-3535 x 3 |
![]() |
| Thread Tools | |
| Display Modes | |
| |