Intelligent Automation & Macro Software  

Go Back   Automation Anywhere, Inc. Forums > Products Zone > Automation Anywhere
Register FAQ Search Today's Posts Mark Forums Read

Automation Anywhere Post messages and questions related to Automation Software here.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-28-2008, 09:47 PM
philkryder philkryder is online now
Senior Member
 
Join Date: Sep 2007
Posts: 458
Default Prompt message size

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?
Reply With Quote
  #2 (permalink)  
Old 03-29-2008, 03:07 AM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

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.
Attached Files
File Type: zip PromptScript.zip (542 Bytes, 4 views)
Reply With Quote
  #3 (permalink)  
Old 03-29-2008, 07:57 AM
philkryder philkryder is online now
Senior Member
 
Join Date: Sep 2007
Posts: 458
Default

Thanks!

I'll give it a try!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -7. The time now is 07:49 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 ©2007, Crawlability, Inc.
Copyright © 2003-2011 Automation Anywhere, Inc. All rights reserved