Is there a way to shut down a PC (Win 8,1) with VBA

vendredi 10 avril 2015

I know it can be done with task scheduling for a set time. However, I am looking for a way whereby the changing the time to shut off is very quick and easy to do as it would be continually done at different times.



I have searched Google high and low but to no avail. I was hoping that I could have some VBA run with the On Timer event. The shut down would have to be done while the computer was either streaming a video or playing a radio station.



One simple way I could do it would be to pull the battery from a laptop and then have it plugged into one of those plugs that you just wind back for 60 minutes or 2 hours etc. before they shut off the power. However, would doing that corrupt Windows 8.1?

Is there a way to shut down a PC (Win 8,1) with VBA

0 commentaires:

Enregistrer un commentaire

Labels