Normal
AW: PowerScheduler++ Test Versions - 1.1.7.1 for MP 1.2.0 Beta[USER=107846]pünktchen[/USER]Sorry for the last post, I had a browser crash and did not realize that it was already sent.What I meant is:As a command you could enter e.g. "cmd.exe /C <mypath>\mytestprogram.bat". The argument ("suspend" or "wakeup") is added to the command provided when it is called by PS++. So what is really called is either "cmd.exe /C <mypath>\mytestprogram.bat suspend" or "cmd.exe /C <mypath>\mytestprogram.bat wakeup". In your program code you can query the argument to decide if there is something to do or not:[CODE]if %1==suspend ( echo parameter is suspend > mytestprogram.log rem do something...) else ( echo parameter is wakeup > mytestprogram.log rem do nothing ...)[/CODE][USER=96572]Expupil[/USER]It is not possible for a PC to wakeup from S5. This has nothing to do with PowerScheduler or Windows but is a hardware issue.BTW: Do you use Windows XP or Win7/Vista? For Win7/Vista you should definitifely not use "Hibernate" (S4), because otherwise away mode will not work (Windows feature). Instead you should use "Hybrid sleep" which is a combination of S3 and S4 - it saves data to disk (S4) to survive a possible power loss but regularly resumes from ram (S3) which is very fast.Michael
AW: PowerScheduler++ Test Versions - 1.1.7.1 for MP 1.2.0 Beta
[USER=107846]pünktchen[/USER]
Sorry for the last post, I had a browser crash and did not realize that it was already sent.
What I meant is:
As a command you could enter e.g. "cmd.exe /C <mypath>\mytestprogram.bat". The argument ("suspend" or "wakeup") is added to the command provided when it is called by PS++. So what is really called is either "cmd.exe /C <mypath>\mytestprogram.bat suspend" or "cmd.exe /C <mypath>\mytestprogram.bat wakeup". In your program code you can query the argument to decide if there is something to do or not:
[CODE]if %1==suspend (
echo parameter is suspend > mytestprogram.log
rem do something...
) else (
echo parameter is wakeup > mytestprogram.log
rem do nothing ...
)[/CODE]
[USER=96572]Expupil[/USER]
It is not possible for a PC to wakeup from S5. This has nothing to do with PowerScheduler or Windows but is a hardware issue.
BTW: Do you use Windows XP or Win7/Vista? For Win7/Vista you should definitifely not use "Hibernate" (S4), because otherwise away mode will not work (Windows feature). Instead you should use "Hybrid sleep" which is a combination of S3 and S4 - it saves data to disk (S4) to survive a possible power loss but regularly resumes from ram (S3) which is very fast.
Michael