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
MCE Remote and its green button...
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="trailboy" data-source="post: 36632" data-attributes="member: 18081"><p>Hello, </p><p></p><p>If I am right, this code you are giving would work if MP was set to run on windows startup. </p><p></p><p>But has anyone an idea on how to make MP to get the focus after launching it by pressing the green button?</p><p></p><p>I have had a look at the available functions in AutoIt, I could create a script that checks if MP is running (with ProcessList i could check if MP process is in the process list) and then give the focus back to MP (with WinActivate). To make it cleaner I could pause the script until MP has not been closed, or does not has the focus any more, or even close the script once MP has the focus... Well it's a nice program with many options.</p><p></p><p>My problem is that mptray was working fine at the begining and it is not any more, has anyone experienced that? I spend the whole day at work scratching my head (yes, I am a developer as well) and when I get back home I like just enjoying a film from the confort of my sofa...</p><p></p><p>I would not like to start coding something unless it is really necessaire... </p><p></p><p>Has anyone had the same problem with mptray? If so, how did you fix it?</p><p></p><p>Thanks.</p></blockquote><p></p>
[QUOTE="trailboy, post: 36632, member: 18081"] Hello, If I am right, this code you are giving would work if MP was set to run on windows startup. But has anyone an idea on how to make MP to get the focus after launching it by pressing the green button? I have had a look at the available functions in AutoIt, I could create a script that checks if MP is running (with ProcessList i could check if MP process is in the process list) and then give the focus back to MP (with WinActivate). To make it cleaner I could pause the script until MP has not been closed, or does not has the focus any more, or even close the script once MP has the focus... Well it's a nice program with many options. My problem is that mptray was working fine at the begining and it is not any more, has anyone experienced that? I spend the whole day at work scratching my head (yes, I am a developer as well) and when I get back home I like just enjoying a film from the confort of my sofa... I would not like to start coding something unless it is really necessaire... Has anyone had the same problem with mptray? If so, how did you fix it? Thanks. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Installation, configuration support
MCE Remote and its green button...
Contact us
RSS
Top
Bottom