home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Support
General Support
How can I get the mptray program to load mp start prog?
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="hal2001" data-source="post: 75762" data-attributes="member: 24383"><p><strong>Use mptray to start any program with the green button</strong></p><p></p><p>I solved this problem with the following workaround. </p><p></p><p>I made an executable called MPPal.exe wich sets a few settings and starts MediaPortal and copied this to the default MediaPortal directory. (using autoit)</p><p></p><p>Then I created a directory C:\Program Files\Team MediaPortal\MPTray</p><p>In this directory I copied mptray.exe, mphook.dll (only thing important is that it is not the default dir where MediaPortal.exe is)</p><p></p><p>Then I made a second script using autoit that starts my first application.</p><p>example:</p><p></p><p>#NoTrayIcon</p><p>Run("C:\Program Files\Team MediaPortal\MediaPortal\MPPal.exe", "C:\Program Files\Team MediaPortal\MediaPortal")</p><p>Exit</p><p></p><p>Now comes the dirty part:</p><p>Convert this last script to executable with the same name as the default MediaPortal. Copy this in the new directory where you copied mptray.</p><p>C:\Program Files\Team MediaPortal\MPTray\MediaPortal.exe</p><p>DO NOT COPY THIS TO THE DEFAULT MEDIAPORTAL DIR! <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite8" alt=":D" title="Big Grin :D" loading="lazy" data-shortname=":D" /> </p><p></p><p>Then I changed the startup location of the mptray.exe in the registry</p><p>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\MediaPortal Shell </p><p>modify the directory to "C:\Program Files\Team MediaPortal\MPTray\mptray.exe"</p><p></p><p>You can also use the register and unregister functions of mptray.</p><p></p><p>Reboot and youre done.</p></blockquote><p></p>
[QUOTE="hal2001, post: 75762, member: 24383"] [b]Use mptray to start any program with the green button[/b] I solved this problem with the following workaround. I made an executable called MPPal.exe wich sets a few settings and starts MediaPortal and copied this to the default MediaPortal directory. (using autoit) Then I created a directory C:\Program Files\Team MediaPortal\MPTray In this directory I copied mptray.exe, mphook.dll (only thing important is that it is not the default dir where MediaPortal.exe is) Then I made a second script using autoit that starts my first application. example: #NoTrayIcon Run("C:\Program Files\Team MediaPortal\MediaPortal\MPPal.exe", "C:\Program Files\Team MediaPortal\MediaPortal") Exit Now comes the dirty part: Convert this last script to executable with the same name as the default MediaPortal. Copy this in the new directory where you copied mptray. C:\Program Files\Team MediaPortal\MPTray\MediaPortal.exe DO NOT COPY THIS TO THE DEFAULT MEDIAPORTAL DIR! :D Then I changed the startup location of the mptray.exe in the registry HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\MediaPortal Shell modify the directory to "C:\Program Files\Team MediaPortal\MPTray\mptray.exe" You can also use the register and unregister functions of mptray. Reboot and youre done. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
General Support
How can I get the mptray program to load mp start prog?
Contact us
RSS
Top
Bottom