2015-08-17, 20:57
(2015-08-17, 20:39)idojius Wrote: Hello,
I would like to be able to launch a batch file in Kodi that opens a certain application (like Chrome, Spotify, or an emulation frontend), then closes Kodi, and when I close the application reopens Kodi again. That´s my intention but I´m quite new at programming and I don´t know what I have to put into the script.
I´ve been searching on this thread but I can´t find the code. I would appreciate if someone on this thread could give me any advice.
Sorry for my bad English but I´m from Spain and this is not my main language.
Best regards,
Good afternoon. Research a microsoft app called pssuspend. I use pssuspend to auto close KOdi/XBMC at the launch of an app and then re-activate after the app closes. When you set up a launcher you'll want to use the format of "filename/link" {exename of app to monitor}. For example, one of the batch files I use for loading PSP roms has an argument set of "Dungeon Siege Throne of Agony" PPSSPPWindows.exe.
Therefore, when the PPSSPPWindows.exe process ends, Kodi/EBMC will re-open and fullscreen maximize.
Hope that helps.
Thanks,
D