Hi!
Is it possible to increase a value after every loop.
ex:
j::
Loop {
Send, {d Down}
Sleep, 1000
Send, {d Up}
}
Is there a way to increase the pause with 1000 between each loop?
Need help with loops
-
- Posts: 35
- Joined: 09 Nov 2015, 11:15
Re: Need help with loops
You can use the inbuilt var A_Index that exists within every loop
Code: Select all
j::
Loop {
Send, {d Down}
Sleep % A_Index * 1000
Send, {d Up}
}
Who is online
Users browsing this forum: apeironn, Google [Bot], madensuyu1, peter_ahk and 349 guests