2008-07-22, 23:49
Just use the launcher script from this thread. leo might want to change it to execwait. depends on what fits better.
WiSo Wrote:Don't have the plugin in front of me but you can search for system.exec inside the *.py files and replace it by system.execwait. This will freeze XBMC (doesn't matter if you don't need it) but allows XBMC to maximize again.Okay, I did that. It does work well for Firefox. For SageTV, not so well. SageTV is already running in the system tray. When I "launch" it from within XBMC the screen flashes as if it launched the program, then goes back to XBMC, then switches to Sage. If I sleep Sage back to the system tray, XBMC does not restore itself. This makes sense as SageTV never actually quits. For me system.exec works better in this instance (with EvenGhost maximizing XBMC after Sage sleeps).
kricker Wrote:I'm not sure what you are monitoring for the launched app to close, but can you monitor if it is minimized and not closed?
WiSo Wrote:When I launch the application I got a process handle back. Without launching an app I won't get it so with the current implementation I can't monitor an app not launched via XBMC.If it was launched by XBMC can you monitor if it was minimized or not?
kricker Wrote:If it was launched by XBMC can you monitor if it was minimized or not?