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
MediaPortal 1 Talk
MediaPortal loses focus - MCE Remote doesn't work
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="emphatic" data-source="post: 1285771" data-attributes="member: 24365"><p>I've made a workaround using Autohotkey. If you don't want to install that should this problem arise for you, you can use my compiled .exe and add it to the autostart folder of Windows 8.1 and above.</p><p></p><p>The functionality then is, when you press the Volume Up button on your MCE remote, this will send ALT+TAB to your HTPC, bringing MediaPortal into focus. Much more wife friendly than having a keyboard hooked up etc.</p><p></p><p>If you want to use another button on your remote (as this removes the volume functionality of the button) you can alter the first line of the script, but then you need to install AutoHotkey so you can compile the script into an .exe file.</p><p></p><p>[CODE]Volume_Up::</p><p> { </p><p> Send {Alt Down}{Tab} ;Bring up switcher immediately </p><p> KeyWait, F1, T.5 ; Go to next window; wait .5s before looping</p><p> if (Errorlevel)</p><p> { </p><p> While ( GetKeyState( "F1","P" ) ) {</p><p> Send {Tab} </p><p> Sleep, 400 ; wait 400ms before going to next window</p><p> }</p><p> }</p><p> Send {Alt Up} ;Close switcher on hotkey release</p><p>}</p><p>return[/CODE]</p><p></p><p>So, for example, if you'd like to use the Mute button, the first line of code is "Volume_Mute::" instead of "Volume_Up::", using the 0 button is "0::" etc.</p><p></p><p>The files.zip contains the .ahk and the .exe versions of the above script.</p><p></p><p></p><p>Disclaimer: I found the script online, and just changed the button from F1 on the keyboard to VolumeUp to fit my needs. I don't claim to be the author of the original script.</p><p></p><p>Emph</p></blockquote><p></p>
[QUOTE="emphatic, post: 1285771, member: 24365"] I've made a workaround using Autohotkey. If you don't want to install that should this problem arise for you, you can use my compiled .exe and add it to the autostart folder of Windows 8.1 and above. The functionality then is, when you press the Volume Up button on your MCE remote, this will send ALT+TAB to your HTPC, bringing MediaPortal into focus. Much more wife friendly than having a keyboard hooked up etc. If you want to use another button on your remote (as this removes the volume functionality of the button) you can alter the first line of the script, but then you need to install AutoHotkey so you can compile the script into an .exe file. [CODE]Volume_Up:: { Send {Alt Down}{Tab} ;Bring up switcher immediately KeyWait, F1, T.5 ; Go to next window; wait .5s before looping if (Errorlevel) { While ( GetKeyState( "F1","P" ) ) { Send {Tab} Sleep, 400 ; wait 400ms before going to next window } } Send {Alt Up} ;Close switcher on hotkey release } return[/CODE] So, for example, if you'd like to use the Mute button, the first line of code is "Volume_Mute::" instead of "Volume_Up::", using the 0 button is "0::" etc. The files.zip contains the .ahk and the .exe versions of the above script. Disclaimer: I found the script online, and just changed the button from F1 on the keyboard to VolumeUp to fit my needs. I don't claim to be the author of the original script. Emph [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Talk
MediaPortal loses focus - MCE Remote doesn't work
Contact us
RSS
Top
Bottom