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
Reopen mp on idle ::: 1.1.2 ::: 14-11-2010
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="joz" data-source="post: 660434" data-attributes="member: 70244"><p>Hey all,</p><p></p><p>I kinda wanted some functionality to reopen MP (minimized to tray) after some amount of user inactivity (if it was not already open ofcourse). Tried to accomplish something like this with task scheduler and a batch but couldn't get it right.</p><p>So I decided to give it a go with AutoIt instead and now I have a working solution. You can run the attached file on system start (or use something like firedeamon to create a service out of it). It will check every configurable amount of time for the following 3 conditions;</p><p></p><p>- Is MP open?</p><p>- Has there been user activity over the last period (configurable)</p><p>- Is another app running fullscreen?</p><p></p><p>if mp isn't open, there's no user activity and no app running fullscreen the script will launch MediaPortal.exe making mediaportal open full screen again. Came in handy for me, some of you might like it as well so I thought I'd share.</p><p></p><p>You can edit the provided ini file to adjust 3 settings;</p><p><strong>pollInterval</strong>: The interval in which the script will check for the conditions, in milliseconds</p><p><strong>idleTimerInterval</strong>: The idle time amount that triggers this script, in miliseconds</p><p><strong>mpExe</strong>: The absolute path to the mediaportal executable</p><p></p><p>p.s.</p><p>The source is included in the zip, just a few autoit lines of code.</p></blockquote><p></p>
[QUOTE="joz, post: 660434, member: 70244"] Hey all, I kinda wanted some functionality to reopen MP (minimized to tray) after some amount of user inactivity (if it was not already open ofcourse). Tried to accomplish something like this with task scheduler and a batch but couldn't get it right. So I decided to give it a go with AutoIt instead and now I have a working solution. You can run the attached file on system start (or use something like firedeamon to create a service out of it). It will check every configurable amount of time for the following 3 conditions; - Is MP open? - Has there been user activity over the last period (configurable) - Is another app running fullscreen? if mp isn't open, there's no user activity and no app running fullscreen the script will launch MediaPortal.exe making mediaportal open full screen again. Came in handy for me, some of you might like it as well so I thought I'd share. You can edit the provided ini file to adjust 3 settings; [B]pollInterval[/B]: The interval in which the script will check for the conditions, in milliseconds [B]idleTimerInterval[/B]: The idle time amount that triggers this script, in miliseconds [B]mpExe[/B]: The absolute path to the mediaportal executable p.s. The source is included in the zip, just a few autoit lines of code. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Reopen mp on idle ::: 1.1.2 ::: 14-11-2010
Contact us
RSS
Top
Bottom