2009-03-11, 08:39
kricker Wrote:It's kinda doing the reverse. XBMC is telling EG to PowerOn sage (restore it from the tray) and go to the myTV screen. This takes a second for Sage to respond. As soon as EG is done issuing the command XBMC sees it as closed and restores itself before Sage fully reponds. XBMC is covering Sage, but remote is controlling Sage.
even if you use XBMC.System.Exec ?
If that is the case here what I would try...
1) ensure the main Sage EXE is 100% closed (not in memory) unless it is launched by XBMC
2) after XBMC launches it, use EG to detect the EXE in memory then send it commands you need... maximize, change screens, etc
this way, once you close the Sage EXE, what XBMC initially launched (not EG) XBMC should automatically come back up.
if that does not work you could just have EG bring XBMC back up when it detects Sage get minimized and/or closed.