So I'm pretty new to AHK and I'd like to make it so that it, for example, does: Send, f!IBakedYouAPie! then send Send, {Enter} every 294381 ms but then send after 12199 it sends Send, OhBoyWhatFlavor?!PieFlavored! then Send, {Enter}
How can I do this?
Make Loop With Timers
Make Loop With Timers
I'm pretty new to this language and barely know what I'm doing. Please excuse any stupidity lol.
Oh also try and explain stuff well if I need it
Oh also try and explain stuff well if I need it
Re: Make Loop With Timers
Code: Select all
WinActivate ahk_exe notepad.exe ;assuming this is where you want to send the text
Send, f{!}IBakedYouAPie{!}
loop, 10 ;you havent mentioned how many times to loop so I've put 10
{
send {enter}
sleep 294381
}
sleep 12199
send, OhBoyWhatFlavor?{!}PieFlavored{!}
send, {enter}
;#######################################################################
exitapp
esc::ExitApp
Who is online
Users browsing this forum: Spawnova and 285 guests