Variable with array
Posted: Thu Apr 12, 2007 2:35 am
Hi,
I'd like to use a variable with an array. Unsuccessful.
For example, I want to copy to {cd(0)} the clipboard content after a first copy/put text action. Like the name of an artist.
Then I want to copy to {cd(1)} the clipboard content after a second copy/put text action. Like the name of an album of the same artist.
At the end I want to copy to {cd(2)} the clipboard content after a third copy/put text action. Like the date of this album.
Is there a way to assign different values in an array without using a lot of temp variables ?
I guess I have to create a delimited variable with coma separated values. But how to create such a string ?
It's just for fun and to test advanced Robotask features.
Bye
Steph@vds
I'd like to use a variable with an array. Unsuccessful.
For example, I want to copy to {cd(0)} the clipboard content after a first copy/put text action. Like the name of an artist.
Then I want to copy to {cd(1)} the clipboard content after a second copy/put text action. Like the name of an album of the same artist.
At the end I want to copy to {cd(2)} the clipboard content after a third copy/put text action. Like the date of this album.
Is there a way to assign different values in an array without using a lot of temp variables ?
I guess I have to create a delimited variable with coma separated values. But how to create such a string ?
It's just for fun and to test advanced Robotask features.
Bye
Steph@vds