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.

Prevent windows sleep

If you have a question or need help, this is the place to be.
Post Reply
vbtrek
Posts: 1
Joined: Sun Jan 15, 2012 11:00 am

Prevent windows sleep

Post by vbtrek »

My Windows 7 machine is set to sleep after 15 mins of inactivity. However, I would like to prevent the machine from sleeping when HandbrakeCLI.exe is running. Is this possible with eventghost?
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: Prevent windows sleep

Post by Pako »

DisableSystemIdleTimer.png
DisableSystemIdleTimer.png (4.39 KiB) Viewed 932 times
You can of course use a different event than Main.OnInit.
Finally, you can idle timer again enable (based on another event).

Pako
Post Reply