Well, I was positive it wasn't working. But I have recompiled it, for what feels like the 100th time, restarted the computer and transferred a new copy over to my MAME pc. Now it works! I have no idea which of those things fixed the issue, but I am not going to think about it any more. It works, and I am happy. At any rate, here is the final version of my AHK code:
#NoTrayIcon
~h::
Process, Exist, MaLa.exe
If (ErrorLevel != 0) ; If it is not running
{
Sleep, 750
Send {Click}
}
return
So anyway, I appreciate the help. If I play around with this method and it gives me problems, I might look into the winactivate command to test out next. Thanks again!