PowerScheduler++ 1.4.0.x - Stable versions for MediaPortal 1.4 (1 Viewer)

netexplorer

MP Donator
  • Premium Supporter
  • January 21, 2009
    736
    104
    Home Country
    Germany Germany
    @Lehmden
    @doveman
    I have created a small application to simulate mouse moving. Combine it with a sheduled task, wich starts after resume.
     

    Attachments

    • MouseMove.zip
      278.9 KB

    doveman

    Portal Pro
    February 12, 2008
    2,326
    178
    Home Country
    United Kingdom United Kingdom
    @Lehmden
    @doveman
    I have created a small application to simulate mouse moving. Combine it with a sheduled task, wich starts after resume.

    Thanks but how do we run this? I recall looking at Task Scheduler before and being unable to find a "On Resume" trigger. I think PS or PS++ used to have a way to run a program on resume but all I see now is "Run command on System power state change".

    Looking at some old scripts, would this work, saved in a file MouseMove.bat and pointed to in the above setting?

    Code:
    if "%1" == "wakeup" goto OnWakeUp
    goto Done
     
    :OnWakeUp
    C:\Tools\MouseMove.exe
     
    goto Done
     
    :Done

    That's the format I had a script in to stop and restart the TV Service but I don't recall if it ever actually worked or if I had to use something else instead. I no longer need to do that with my current tuner, so haven't used it in a while.
     

    netexplorer

    MP Donator
  • Premium Supporter
  • January 21, 2009
    736
    104
    Home Country
    Germany Germany
    This should work also.
    The event trigger in task planer is “Power-Troubleshooter” with event ID 1.
     

    Lehmden

    Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,562
    3,944
    Lehmden
    Home Country
    Germany Germany
    Hi.
    Thanks, will try that too. But for now I'm doing a complete restart of HTPC after resume. This solves every problem one could get due to standby issues. And since using this, all is reliable 100%... Just add this batch to Powershedulers "run task before/after resume" and there you go... The resume last for about one minute (a bit longer as normal) but all drivers, services, devices, memory,... are fresh and clean...
    Code:
    IF "%1" == "" exit
    if %1==wakeup goto wakeup
    exit
    :wakeup   
    shutdown /r /t 0
    exit
     

    LJG

    Retired Team Member
  • Premium Supporter
  • March 3, 2012
    457
    179
    Home Country
    United Kingdom United Kingdom
    Hello, just wondering if there is a way to use PowerScheduler++ to prevent my HTPC going to sleep when MediaPortal is open?

    Adding MediaPortal.exe to 'Processes which should prevent standby' doesn't work.

    Thanks!

    lisa
     

    Lehmden

    Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,562
    3,944
    Lehmden
    Home Country
    Germany Germany
    HI.
    Adding MediaPortal.exe to 'Processes which should prevent standby' doesn't work.
    I have it working exactly this way. And this since years without a single issue...
     

    LJG

    Retired Team Member
  • Premium Supporter
  • March 3, 2012
    457
    179
    Home Country
    United Kingdom United Kingdom
    HI.
    Adding MediaPortal.exe to 'Processes which should prevent standby' doesn't work.
    I have it working exactly this way. And this since years without a single issue...
    Oh! Wonder why it's not working for me then... hmm.

    Which version of PowerScheduler++ are you using, and is there any other secret settings that I may have missed?

    I am using Windows 7 32 bit / MediaPortal 1.3.0 alpha / PS 1.2.3.4
     
    Last edited:

    Lehmden

    Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,562
    3,944
    Lehmden
    Home Country
    Germany Germany
    Hi.
    This is working with every PS Version I can imagine... No matter if it's PS or PS++ and with all MP Versions I've used over the years now...
    Try to run MP in windowed mode, then start SetupTV and make a screenshot from the PS++ Setup- Page. There should be something written like "prcesses preventing standby:confused:etupTV,MediaPortal". Maybe you need to change to expert mode first. (but not sure)....
     

    LJG

    Retired Team Member
  • Premium Supporter
  • March 3, 2012
    457
    179
    Home Country
    United Kingdom United Kingdom
    Thanks Lehmden - I have sorted it, may have been a little case of user error :rolleyes:

    I had typed in MediaPortal.exe into the box that says 'processes which should prevent standby' - this didn't work.

    With MediaPortal open in windowed mode, I then clicked the select process option in the PS++ config, and then the MediaPortal process from the drop down list, and it seems to have done the trick (y)

    lisa
     

    Users who are viewing this thread

    Top Bottom