Basta usar outro InputBox e um Loop :
InputBox, ite, "Repeat...", "How many times to loop?"
Loop %ite% {
sleep 100
InputBox, testvariable, Enter your Input here,,,350, 120
send 100
send {Tab}
sleep 100
send %testvarable%
}
Existe uma maneira de fazer loop em um determinado script usando a entrada do usuário com INPUTBOX
?
O script abaixo é executado apenas uma vez quando clico no botão para isso. Existe alguma maneira para o script pop-up algo onde ele pede um número para ele loop? Vamos dizer que algo aparece e eu dou "10". Então o script é executado 10 vezes.
myscript:
sleep 100
InputBox, testvariable, Enter your Input here,,,350, 120
send 100
send {Tab}
sleep 100
send %testvarable%
return
Basta usar outro InputBox e um Loop :
InputBox, ite, "Repeat...", "How many times to loop?"
Loop %ite% {
sleep 100
InputBox, testvariable, Enter your Input here,,,350, 120
send 100
send {Tab}
sleep 100
send %testvarable%
}
Tags autohotkey