You're a chief buddy. It woks fine!
May I ask you something else as you seem to know well the ahk files?
For the N64, i use this command that works perfectly fine for Project64, but not with Simple64
-------------------------------------------------------------------------------------------------------------------------------------------
Gui +AlwaysOnTop -Caption +ToolWindow
Gui, color, 0
Gui Show, x0 y0 h%A_ScreenHeight% w%A_ScreenWidth%,
Runwait E:\Nintendo\N64\Emulateur\Simple64 Super Mario\simple64-gui.exe "E:\Nintendo\N64\Jeux\Super Mario 64 (E) (M3) [!].z64
Sleep, 2000
Gui, Destroy
Process, waitClose, %executable%
ExitApp
Esc:: Send, !{F4}
return
--------------------------------------------------------------------------------------------------------------------------------------------
Gui Blackscreen stay above the emulator so I don't see anything (except a blackscreen). I can hear the game running in the emulator and escape get out of the script.
If i change "Runwait" with "Run", everything is launching fine (Gui blackscreen is destroyed) but this time, Esc doesn't get out of the script...
I have to manually press alt+F4 to get out of the script...
Any idea?
Thanks a lot,