|
Post by pablom on Aug 12, 2020 14:09:16 GMT
Hi, i have defined 50 different strings, now i want to use these randomly this is what i got:
48 | RUN ACTION | COPY TO CLIPBOARD | %STRING_50-95% 49 | 491 | 55 | 1610 | Keypress Ctrl+ | v 50 | 491 | 55 | 956 | Keypress enter
This part is not working, i tried: %STRING_50-95% %STRING%RANDOM_50-95%%
How i can run random string number?
Thanks!
|
|
|
Post by Steve on Aug 13, 2020 10:31:45 GMT
Hi pablomCheckout www.turnssoft.com/conditions.html#random_integer_variable for the usage of %RANDOM%. To clarify your question, are you looking for random numbers or the random use of your declared 50 string variables? The %RANDOM% variable generates random numbers. %RANDOM_50-95% will generate a random number between 50 and 95 but unfortunately can not be used how you have it defined with string variables. Saying that though I like where your heads at and your code below would be pretty cool if it could work to randomly pick your string variables.
|
|
|
Post by pablom on Aug 15, 2020 13:38:42 GMT
I want to use random string, i did it this way:
10 | RUN ACTION | GOTO MACRO LINE | down %RANDOM_1-46% 11 | RUN ACTION | DEFINE STRING VARIABLE | %STRING50%::en.wikipedia.org | AND | 1 | RUN ACTION | GOTO MACRO LINE | 57
|
|