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 Plugins
Generic Keyboard/Remote Input Plugin
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="Mercbac" data-source="post: 607674" data-attributes="member: 48233"><p>After reading the post from hioctane, it occurred to me that you guys are maybe suffering from the same loss of focus that my MP has every time I start it. In my case this is caused by an option in the MiniDisplay plugin (restart driver) that I need to get my IR sensor working and "seeing" input from the remote control. I have put a crude workaround in place, which would explain why I haven't seen the "loss of mappings" described by some people in this thread, assuming that what really happened in all those cases was that MP lost focus. </p><p>So if any you have a problem with MP losing focus, here's my workaround for that issue: I wrote a very small script for a freeware tool called "autohotkey". The script can be compiled into an executable and autostarts on my MediaPC. It then checks every second if there is an open window that has "MediaPortal -" as the beginning of the window title, and if such a window is found it makes that window active, basically bringing focus back to MP.</p><p>This is what the script looks like:</p><p>--------------------------------------</p><p>SetTitleMatchMode, 2</p><p></p><p>Loop</p><p>{</p><p> IfWinExist MediaPortal -</p><p> {</p><p> IfWinNotActive</p><p> {</p><p> WinActivate</p><p> }</p><p> }</p><p> sleep, 1000</p><p>}</p><p>return</p><p>---------------------------</p><p></p><p>The tool can be found at: <a href="http://www.autohotkey.com/" target="_blank">AutoHotkey - Free Mouse and Keyboard Macro Program with Hotkeys and AutoText</a></p></blockquote><p></p>
[QUOTE="Mercbac, post: 607674, member: 48233"] After reading the post from hioctane, it occurred to me that you guys are maybe suffering from the same loss of focus that my MP has every time I start it. In my case this is caused by an option in the MiniDisplay plugin (restart driver) that I need to get my IR sensor working and "seeing" input from the remote control. I have put a crude workaround in place, which would explain why I haven't seen the "loss of mappings" described by some people in this thread, assuming that what really happened in all those cases was that MP lost focus. So if any you have a problem with MP losing focus, here's my workaround for that issue: I wrote a very small script for a freeware tool called "autohotkey". The script can be compiled into an executable and autostarts on my MediaPC. It then checks every second if there is an open window that has "MediaPortal -" as the beginning of the window title, and if such a window is found it makes that window active, basically bringing focus back to MP. This is what the script looks like: -------------------------------------- SetTitleMatchMode, 2 Loop { IfWinExist MediaPortal - { IfWinNotActive { WinActivate } } sleep, 1000 } return --------------------------- The tool can be found at: [url=http://www.autohotkey.com/]AutoHotkey - Free Mouse and Keyboard Macro Program with Hotkeys and AutoText[/url] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Generic Keyboard/Remote Input Plugin
Contact us
RSS
Top
Bottom