Autohotkey to the citra window?


#1

Would anyone here happen to have a bit of autohotkey experience? I was trying to automate something running on citra (in this case just sending a single key repeatedly) but I can’t seem to get it to work.

loop {
SetTitleMatchMode, 2
ControlSend, Qt5QWindowOwnDClCon1, {a down}, Citra Nightly

sleep 100

ControlSend, Qt5QWindowOwnDClCon1, {a up}, Citra Nightly

sleep 100

}

this loop should send the a key (bound to citra’s 3ds a) being held down for 100 ms then let up, wait 100ms and repeat. I’ve tried it with the Qt5 control present and not present, as well as a bunch of different derivations of the window name (including the full name with head-numbers, but nothing seems to work as citra isn’t receiving anything. I have no problems sending something like this to notepad, anyone know whats wrong? I’m guessing it has something to do with identifying the citra windows proper name but again, I’m not sure.


#2

I’d suggest asking in authokey channels / their support instead.