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
Installation, configuration support
No Sound
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="CyberSimian" data-source="post: 1279787" data-attributes="member: 141969"><p>If your remote control is the Ortek VRC-1100 or the Hama equivalent, you must be using the "Centarea HID" in MP, and possibly using the AutoHotKey script that I wrote for it. This script checks for the "green marble" button, and starts MP from the desktop when that button is pressed. Changing this script to invoke (say) "MediaPortal.bat" instead of "MediaPortal.exe" is trivial. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite24" alt="(y)" title="Thumbs Up (y)" loading="lazy" data-shortname="(y)" /></p><p></p><p>If your remote control is an MCE RC6 remote control, it is not so easy <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite3" alt=":(" title="Frown :(" loading="lazy" data-shortname=":(" />. I looked in the help for AutoHotKey, but there does not seem to be a pre-defined keycode for the green-marble button. I don't know for certain, but I suspect that the Microsoft driver for the IR receiver generates an internal Windows message when the green-marble button is pressed, and not a keycode. So you would need a program to receive this message and start "MediaPortal.bat". I think that AutoHotKey has the facilities to do this, but I have never written a message-handling program in any programming language, so I do not have any examples that I can give you or advice on how to program it.</p><p></p><p>From a web search I found <a href="https://autohotkey.com/board/topic/64536-wmc-remote-doing-something-special-with-the-green-button/" target="_blank">this page</a>, where the user has written an AutoHotKey script to intercept the green-marble button and do some different processing. However, even though I have written some AutoHotKey scripts, that script looks quite obscure to me. If you are a programmer, you may be able to study it, understand it, and then modify it to suit your requirements.</p><p></p><p>I did only a quick web search. If you do a more-thorough web search, and examine more hits, you may find a solution that more-closely matches what you want to do.</p><p></p><p>-- from CyberSimian in the UK</p></blockquote><p></p>
[QUOTE="CyberSimian, post: 1279787, member: 141969"] If your remote control is the Ortek VRC-1100 or the Hama equivalent, you must be using the "Centarea HID" in MP, and possibly using the AutoHotKey script that I wrote for it. This script checks for the "green marble" button, and starts MP from the desktop when that button is pressed. Changing this script to invoke (say) "MediaPortal.bat" instead of "MediaPortal.exe" is trivial. (y) If your remote control is an MCE RC6 remote control, it is not so easy :(. I looked in the help for AutoHotKey, but there does not seem to be a pre-defined keycode for the green-marble button. I don't know for certain, but I suspect that the Microsoft driver for the IR receiver generates an internal Windows message when the green-marble button is pressed, and not a keycode. So you would need a program to receive this message and start "MediaPortal.bat". I think that AutoHotKey has the facilities to do this, but I have never written a message-handling program in any programming language, so I do not have any examples that I can give you or advice on how to program it. From a web search I found [URL='https://autohotkey.com/board/topic/64536-wmc-remote-doing-something-special-with-the-green-button/']this page[/URL], where the user has written an AutoHotKey script to intercept the green-marble button and do some different processing. However, even though I have written some AutoHotKey scripts, that script looks quite obscure to me. If you are a programmer, you may be able to study it, understand it, and then modify it to suit your requirements. I did only a quick web search. If you do a more-thorough web search, and examine more hits, you may find a solution that more-closely matches what you want to do. -- from CyberSimian in the UK [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Installation, configuration support
No Sound
Contact us
RSS
Top
Bottom