Page 1 of 1

simple question

Posted: 25 Feb 2018, 05:53
by jojo95752003
hello!! im an new ahk scripter
and interested in doing loop script

does anyone know why this simple loop doesnt work?


F12::
loop
(
send {F11}
sleep, 500
)
return

it says this line does not contain a recognized action

thank you so much for reading my question!!

Re: simple question  Topic is solved

Posted: 25 Feb 2018, 05:57
by gregster
Wrong brace syntax, try { } instead of ( ): https://autohotkey.com/docs/commands/Block.htm

Re: simple question

Posted: 25 Feb 2018, 06:00
by jojo95752003
thank you so much !!