Like the title says, my loop doesn't work. Here's the script:
#NoEnv
#SingleInstance force
SetKeyDelay, 30,50
SendMode, Event
Return
^o::
Loop 168
KeyWait, x
Send, {Enter Down}
Sleep, 100
Send, {Enter Up}
^l::ExitApp
Loop doesn't work for me.. PLEASE HELP
-
- Posts: 4
- Joined: 17 Jul 2017, 13:05
Re: Loop doesn't work for me.. PLEASE HELP
You need to use brackets to define the loop block. Eg,
Good luck.
Code: Select all
#NoEnv
#SingleInstance force
SetKeyDelay, 30,50
SendMode, Event
Return
^o::
Loop 168
{
KeyWait, x ; This means wait for x to be released, if you want to wait for x to be pressed, use: KeyWait, x, Down
Send, {Enter Down}
Sleep, 100
Send, {Enter Up}
}
return
return
^l::ExitApp
Who is online
Users browsing this forum: Chunjee, inseption86, jaka1, LuckyJoe, Rohwedder and 325 guests