Hi all.. 
Could be usefull a OnStart / OnExit event features in Media Portal to execute some action entering Media Portal or exiting.
For example now I use Intelliremote to start a AutoIT executable scripting to change primary monitor . start MP and waiting for its close to restore the previous monitor. So I can't use MpTray for that..
A onStart / onExit could be usefully for many other purpose. (changhe refresh for example...)
Could be usefull a OnStart / OnExit event features in Media Portal to execute some action entering Media Portal or exiting.
For example now I use Intelliremote to start a AutoIT executable scripting to change primary monitor . start MP and waiting for its close to restore the previous monitor. So I can't use MpTray for that..
A onStart / onExit could be usefully for many other purpose. (changhe refresh for example...)
Code:
if ProcessExists("mediaportal.exe") Then
Exit
EndIf
ShellExecute ("D:\Programmi\Team MediaPortal\changeMonitor2AsPrimary.vbs")
Sleep(1000)
RunWait ("D:\Programmi\Team MediaPortal\MediaPortal\mediaportal.exe")
ShellExecute ("D:\Programmi\Team MediaPortal\changeMonitor1AsPrimary.vbs")
Italy