Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Changing variable wrapped in a string

$
0
0

Hey guys,

 

Say I have;

$Test[0] = "a" $Test[1] = "b" $Test[2] = "c" for $i In $Path     $string = ($i)     send($i) Next

This would obviously send the variable of  $i until the array splits are depleted.

 

However, I would like to use the {"LETTER" DOWN/UP} syntax but i'm having a hard time figuring out how and if I can change the variable each time wrapped in something  like the  button up/down syntax.

 

I was fiddling a bit attempting things like;

$Test[0] = "a" $Test[1] = "b" $Test[2] = "c" for $i In $Path     $string = ("{($i) & "down"}")     send($i) Next

or something along those lines.....

 

So can It be done if so how ?

 

Thanks

Odin


Viewing all articles
Browse latest Browse all 12506

Trending Articles