Reply to thread

AW: PowerScheduler++ Test Versions - 1.1.7.1 for MP 1.2.0 Beta


Well, the tooltip might be wrong, but I am not 100% sure and cannot have a look at the sorce code at the moment. The program selected in the "run command before standby/after wakeup" box is called with the argument ("standby/suspend" or "wakeup"); you do not have to add it yourself. In the code you check for the argument provided and do what you want to do in each case (nothing for "wakeup" in your case). So a simple example could be:

Write a batch file called "mytest.bat":

if %0 == wakeup (

echo wakeup

cmd.exe /k mytestprogram.bat


Top Bottom