I would like to set my loop to repeat lets say 20 times and stop, afterwards use a single key to use a skill. Then the whole loop repeat the whole process again. However i can't seem to make it work
F6::
Settimer,Loop1, 5000
Return
Loop1:
{
Toggle:=!Toggle
While, Toggle
{
Commands....
}
Send, x
}
Return
How to use timer
-
- Posts: 1
- Joined: 26 Jul 2020, 02:47
Re: How to use timer
Hallo,
perhaps:
I didn't know what that malfunctioning Toggle was all about.
Guessing the right function from scripts with wrong function is difficult!
perhaps:
Code: Select all
F6::
No := 0
Settimer,Loop1, 5000
Return
Loop1:
IF (++No = 20)
{
Send, x
No := 0
}
Return
Guessing the right function from scripts with wrong function is difficult!
Who is online
Users browsing this forum: Google [Bot] and 127 guests