Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Id like to wait a little before I run a program after WOSB wakes computer up from a suspended mode. How can I do that?

0
Posted

Id like to wait a little before I run a program after WOSB wakes computer up from a suspended mode. How can I do that?

0

You will have to implement an outside scripting language for that. Say, you want to run a system calculator after 3 seconds when computer wakes up from suspended mode. Do the following: • Using a plain text editor (like, Notepad, for example) create the following file, or download it from here: (If you want to run a different file or use another delay, change the appropriate fields in the data below) //First wait //Values specified in milliseconds, i.e. 1000th of a second pause(1000 * 3); //3 seconds //Now specify path to a program to run //(Please note that you have to put an additional slash for //each existing one!) runProgram(“%windir%\\system32\\calc”, “”); //No command parameters //If you wanted to specify a file that was located in: //”C:\Documents and Settings\Me\My Documents\F1.doc” //you’d use the following command: //runProgram(“C:\\Documents and Settings\\Me\\My Documents\\F1.doc”, “”); function pause(msPause) { //msPause = Time to wait in milliseconds var date = new Date()

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123