|
SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Neilm's Dynamic Menu - How To Launch Once Only
Hello - I notice that if I launch a program from Sage like MAME and then I flip back to Sage and launch it again the Dynamic Menu loads it twice. Is there a way to tell it to just "flip windows" if the application is already open?
Thanks, Mike |
#2
|
||||
|
||||
Sage (and java) has no idea if a program is already running, so no. If you are using Girder, you can use the dynamic menu to trigger a girder event that does:
if <program> is running: then switch to program else run program.
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki |
#3
|
||||
|
||||
You could add the other program to your Windows startup group so it's always running minimized in the background. Then Sage doesn't have to be able to detect whether it's running or not. Just assume that it is.
Or if you're familiar with JScript or VBScript, you can write a simple Windows shell script to test whether the app is running or not, and either activate it or launch it as appropriate. Then configure Sage to run the shell script. http://msdn.microsoft.com/library/en...0de350e045.asp
__________________
-- Greg |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|