Hi, I'm extremely new to AutoHotkey, and downloaded it so that I could farm xp in Speedrunners, and to do that I need a script that does exactly what the title implies. Could someone please write this for me?
Thanks so much,
Mingo
Script that presses enter every ~45 seconds, loops infinitely, and has a stop key
- divanebaba
- Posts: 805
- Joined: 20 Dec 2016, 03:53
- Location: Diaspora
Re: Script that presses enter every ~45 seconds, loops infinitely, and has a stop key
Hello Mingo.
Welcome to the AHK-forum. As our newest member you get your free gift, a full functional script, designed nearly exactly as you have desired.If you have any questions or if this script is not exacly, what you have desired, please give notice.
Otherwise, have fun with AutoHotkey.
Welcome to the AHK-forum. As our newest member you get your free gift, a full functional script, designed nearly exactly as you have desired.
Code: Select all
$Pause:: ; Pause-key starts and stops
Toggle := !Toggle ; advanced toggling technique
if (Toggle)
Settimer, Sendkey, 45000 ; set label "Sendkey" as timer with 45 seconds intervall
else
Settimer, Sendkey, off ; deactivates timer
return
Sendkey: ; Label, used as timer
sendinput {Enter} ; sending Enter-key
return
Otherwise, have fun with AutoHotkey.
Einfach nur ein toller Typ.
Re: Script that presses enter every ~45 seconds, loops infinitely, and has a stop key
Thanks so much, I'll try it out now!