Jump to content
Sign in to follow this  
Sarav

To read a string from an array and populate the array value in a form

Recommended Posts

Sarav

I am trying to read a value from an array and trying to populate the array value in a form text field.

I recorded a script of filling a gui form.

I created an array for each text field in the gui form.

I gave a loop to execute the form.

For each iteration i tried calling the values from the Array Index position (Used 'Send()' function)

But it didnt work.

Can anyone tell me a function to call an array value and fill it in the 'textfield' of a gui form through a loop?

Thanks in advance

Share this post


Link to post
Share on other sites
Mat

does Send ($array[Number], 1) not work?

or better still, check out control send.

Edited by mdiesel

Share this post


Link to post
Share on other sites
Mat

kk, no probs...

It wasn't really a detailed answer as I was unsure of what you'd already tried....

from the helpfile:

An example:

Let's say you want to store these series of characters: "A", "U", "T", "O", "I", "T" and "3".

You could use seven separate variables to do so, but using an Array is more efficient:

$Array[0]="A"
$Array[1]="U"
..etc..
$Array[6]="3"

To access a specific value in an Array, you only have to know the index number:

$MyChar=$Array[2]

This results in $MyChar containing the letter "T" (See also: 'operators').

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.