Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

Macro to place stystem into stand-by?

If you have a question or need help, this is the place to be.
Post Reply
carz181
Posts: 13
Joined: Tue Sep 01, 2009 8:52 pm

Macro to place stystem into stand-by?

Post by carz181 »

Hi, im a noob so help would be helpful :lol: . I want my computer to go into stand by at 11:00pm. The next day i want it to wake its self up at 3:25 pm. How do i do this?

Ps. i have tryed the timer plug-in but cant get it to work.


Thanks!
User avatar
jitterjames
Experienced User
Posts: 677
Joined: Thu Aug 13, 2009 4:36 pm
Location: Quebec, Canada
Contact:

Re: Macro to place stystem into stand-by?

Post by jitterjames »

if you want to do this on a schedule, the best way is with windows built in functions. For the wakeup I think it's the only option.

What you are looking for is called task scheduler. How it works will vary depending what operating system you are using.

you can use a command line call like this: rundll32 powrprof.dll,SetSuspendState
to put the computer to sleep, though if you have hibernation enabled it might cause the computer to hibernate rather than sleep.

to wake it up, you can set any kind of simple task in the task scheduler (like opening explorer, running a .bat file etc)
somewhere in the task scheduler you will find an option "wake computer to run this task".

In some cases you can also set your computer to always wake at a certain time in the bios. You would have to experiment with that, I'm not sure how well it works, and it will depend on your motherboard.

As for getting the timer plugin to work in eventGhost, maybe you should describe what you tried to do to get it to work. Then someone might be able to tell you what you did wrong.
carz181
Posts: 13
Joined: Tue Sep 01, 2009 8:52 pm

Re: Macro to place stystem into stand-by?

Post by carz181 »

Thanks ill look into that. And after much playing around i did get the timer to work
Post Reply