How to loop AHK by user input?
Posted
by
AHKFan
on Super User
See other posts from Super User
or by AHKFan
Published on 2012-09-14T18:20:13Z
Indexed on
2012/09/15
3:40 UTC
Read the original article
Hit count: 400
autohotkey
is there a way to loop a certain script using user input per INPUTBOX?
The script below runs only once when i klick the button for it. Is there any way for the script to popup something where it asks for a number for it to loop? Lets say something pops up and i give in "10". Then the script is executed 10 times.
I hope it's clear enough to understand what the question is guys :-)
myscript:
sleep 100
InputBox, testvariable, Enter your Input here,,,350, 120
send 100
send {Tab}
sleep 100
send %testvarable%
return
Thanks for your help in advance.
© Super User or respective owner