Hi so I can't ask for help about this on the hyperspin forum because it's about the Nintendo DS. So initially I was able to get desmume to launch just fine. All I needed as for autohotkey to presse alt + enter for me. I also had it wait 8 seconds, for testing. That should be more than enough time for desmume to launch.
Well the result really confused me. When launched, "alt+enter" is never pressed. Instead it seems to activate the sleep mode when I exit back to hyperspin. When I have the sleep line in there it seems to take about 8 seconds to exit when I take the line out it exits instantly. Any ideas why alt+enter and the sleep command are being sent on exit? and why this is not happening right after the launche of desmume.
else if (systemName = "Nintendo DS" && executable = "desmume_x64.exe")
{
hideDesktop()
Hotkey, %exitEmulatorKey%, CloseProcess
RunWait, "%emuPath%%executable%" "%romPath%%romName%%romExtension%"
Sleep, 8000
Send !{enter}
Process, WaitClose, desmume_64.exe
}