...But to press a key for a non-pc game is not really supported as there is no PostLaunch support for anything outside pclauncher.
Global systemName, romName, emuPath
StartGlobalUserFeatures(){
Log("StartGlobalUserFeatures - Starting")
If (systemName = "Microsoft MS-DOS" && romname = "Prince of Persia (1990)")
{
WinWait("DOSBox ahk_class SDL_app")
Sleep, 5000
Send, {M down}
sleep, 100
Send, {M up}
}
Yes I'm sorry. It's not possible to perform a function after the emu has launched for this reason. Userfunctions is only right before the emu launches. Currently only pclauncher is capable to do something after the emu launches but before you close it.
Right now your only option is to edit the module and code something right before the process wait close line.
Sent from my SM-N910V using Tapatalk
OK. Thanks. This is a feature that I would love to see in RL.