@Exaskryz
thanks for the reply
first of all I do not know why the script that I have posted has the "%k%" value out of the brace (})
I tried your suggestion but returns from 3 to 9 rows (like my script in the first post)
sorry for my english.
I have explained bad.
I want 3 rows. not more, not less
---
example:
press F3 =
cc
aaa
b
again press F3 =
bbb
c
cc
again press F3 =
etc..............
---
I want three rows (depending on the value after loop, example "loop 5" = 5 rows) formed each one from 1 to 3 letters.
random is the number of letters in the row. from 1 to 3
and random letter. from "a" to "c"
@wizardzedd
thank you!!! your script is perfect
I have to study better the commands
if and
else if
I started the day before yesterday with AHK
Code: Select all
F3::
loop 3
{
random, m, 1, 3
random, k, 1, 2
if(m = 1) {
Send, {a %k%}
send, {Enter}
} else if(m = 2) {
Send, {b %k%}
Send, {Enter}
} else if(m = 3) {
Send, {c %k%}
Send, {Enter}
}
}
works well
I would have liked to use the labels
![Smile :)](./images/smilies/icon_e_smile.gif)