Help with a Ctrl command

Ask gaming related questions
Pietro_Gomes
Posts: 1
Joined: 28 Dec 2023, 13:38

Help with a Ctrl command

28 Dec 2023, 14:07

So. I just started using ahk, and i'd like some help, I'd like to make a script that presses the Left Alt key 20 times, with a cooldown of 0.3 seconds in beetween clicks.

How could i do that?
Thanks. Pietro.
niCode
Posts: 335
Joined: 17 Oct 2022, 22:09

Re: Help with a Ctrl command

29 Dec 2023, 04:13

One example:

Code: Select all

F1:: {
    loop 20 {
        SendEvent('{LAlt}')
        Sleep(300)
    }
}

Return to “Gaming Help (v2)”

Who is online

Users browsing this forum: No registered users and 13 guests