Intelligent Automation & Macro Software  

Go Back   Tethys Solutions 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 06-27-2009, 03:46 PM
GMPLLC GMPLLC is offline
Junior Member
 
Join Date: Jun 2009
Posts: 25
Default Display ALL text within List Variable

Hi - I have a list variable with the following;

text1
text2
text3
text4
text5

I'm trying to build a prompt that displays the following;

"Your list variable contains text1, text2, text3, text4, text5"

I'm know how to do the prompt but I can't figure out how to build a single text string from each item in the list variable. Any thoughts?

Thanks in advance.
TK
Reply With Quote
  #2 (permalink)  
Old 06-27-2009, 05:02 PM
ColinJD ColinJD is offline
Member
 
Join Date: May 2009
Posts: 38
Default Maybe This

Hi,
You will need to Variables for the attached atmn file to run
1. $YourListVariable$ with the list variables inserted
2. $textOutput$ which is initiated with a null value

enjoy
Attached Files
File Type: atmn ConcantateList.atmn (654 Bytes, 1 views)
Reply With Quote
  #3 (permalink)  
Old 06-30-2009, 09:11 AM
forumsupport forumsupport is online now
Senior Member
 
Join Date: Apr 2007
Posts: 1,068
Default

Hello,

The task uploaded by Colin is perfect.

In addition, if you wish to use the concated string in another task as well then you can log it in a text file. We have attached a sample task for reference. To run this task,

. Please copy it under location, 'C:\...\My Documents\Automation Anywhere\Automation Anywhere\My Tasks' folder.
. Please create a variable, EString that reads value from a text file.
To create a variable that read from text file, please follow below mentioned steps:
1. Go to Tools->Variable Manager in Automation Anywhere.
2. Click on 'Add New Variable'.
3. In 'Name' field, enter variable name i.e. EString .
4. Select 'Read from text file' radio button or option.
5. In 'Value' field, specify the path of text file i.e c:\test.txt.
6. Press 'Save' button.
7. Press 'Ok' button.

Hope that helps.
Attached Files
File Type: atmn concatelistvar.atmn (579 Bytes, 0 views)
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 01:34 PM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 ©2007, Crawlability, Inc.
Copyright © 2003-2008 Tethys Solutions, LLC. All rights reserved