Help me create a script

Ask gaming related questions (AHK v1.1 and older)
Splash_Soul
Posts: 2
Joined: 21 Jul 2021, 15:33

Help me create a script

Post by Splash_Soul » 21 Jul 2021, 15:37

i want one button "1" to work with an interval of 1 second, and the button "4" with an interval of 30 seconds. So that they do not follow each other, but work independently

User avatar
mikeyww
Posts: 26437
Joined: 09 Sep 2014, 18:38

Re: Help me create a script

Post by mikeyww » 21 Jul 2021, 16:12


Splash_Soul
Posts: 2
Joined: 21 Jul 2021, 15:33

Re: Help me create a script

Post by Splash_Soul » 21 Jul 2021, 16:23

можно пример конкретно в моем вопросе

User avatar
mikeyww
Posts: 26437
Joined: 09 Sep 2014, 18:38

Re: Help me create a script

Post by mikeyww » 21 Jul 2021, 16:29

Code: Select all

#Persistent
SetTimer, One, 1000
Gosub, Four
SetTimer, Four, 30000
One:
Send 1
Return
Four:
Send 4
Return

Post Reply

Return to “Gaming Help (v1)”