![]() |
| |||||||
Automation Anywhere Post messages and questions related to Automation Software here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
|
I tried to use the PROMPT command to solicit info from the user interactively. BUT, the amount of data in the prompt window is very limited. Actually, I can type in more data than is displayed in the window. ?what is the limit on the number of lines displayed? ?what is the limit on the number of characters? I use a SHIFT+ENTER to skip to new lines for ease of reading, but only the first two lines show up. Is there any other easy way to get input? Such as a VB or WScript or Jscript? What is the best way to put out a bigger/better prompt box? |
| |||
|
Hello, There is no limit on amount of data entered by user at run time. However, at design time, custom prompt message textbox allows only 100 characters. However, you can create VB script that will work as Prompt command and can call this script in task using 'Run Script' command. You can pass parameters to VB script, which will be your custom prompt message. Value entered by user can be returned in task. For your convenience, we have created one sample task, PromptVBScript.atmn, copy it under location, 'C:\...\My Documents\Automation Anywhere\Automation Anywhere\My Tasks' folder. Also, copy PromptScript.vbs under location, 'C:\...\My Documents\Automation Anywhere\Automation Anywhere\My Scripts' folder. This task will pass the custom prompt message, $Clipboard$ to script and value entered by user is returned in $Prompt-Assignment$ variable. Hope that helps. |
![]() |
| Thread Tools | |
| Display Modes | |
| |