I apologize in advance, I don't understand almost anything about programming. I will send what I write in the macro. If you could help me please.
Code: Select all
#If WinActive("ahk_class Ragnarok")
#MaxThreadsPerHotkey 2
$f7::
Toggle := !Toggle
While (Toggle) {
ControlSend, ahk_parent, {f1 down}, ahk_class Ragnarok
Sleep, 350
ControlSend, ahk_parent, {f1 Up}, ahk_class Ragnarok
Sleep, 450
ControlSend, ahk_parent, {f1 down}, ahk_class Ragnarok
Sleep, 350
ControlSend, ahk_parent, {f1 Up}, ahk_class Ragnarok
Sleep, 450
ControlSend, ahk_parent, {f2 down}, ahk_class Ragnarok
Sleep, 550
ControlSend, ahk_parent, {f2 Up}, ahk_class Ragnarok
}
Return