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
Products
TV-Server
PowerScheduler++ test versions
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="michael_t" data-source="post: 772884" data-attributes="member: 85139"><p><strong>AW: PowerScheduler++ Test Versions - 1.1.7.1 for MP 1.2.0 Beta</strong></p><p></p><p>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:</p><p>Write a batch file called "mytest.bat":</p><p>if %0 == wakeup (</p><p>echo wakeup</p><p>cmd.exe /k mytestprogram.bat</p></blockquote><p></p>
[QUOTE="michael_t, post: 772884, member: 85139"] [b]AW: PowerScheduler++ Test Versions - 1.1.7.1 for MP 1.2.0 Beta[/b] 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 [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Products
TV-Server
PowerScheduler++ test versions
Contact us
RSS
Top
Bottom