开发者

Wake up from standby/hibernate programmatically in Windows in python?

开发者 https://www.devze.com 2023-01-18 19:58 出处:网络
I\'m thinking of making an alarm clock that can wake up some systems (depending on motherboard model) from hibernation/standby modes at a certain pre-determined time. I开发者_如何学Go\'ve seen similar

I'm thinking of making an alarm clock that can wake up some systems (depending on motherboard model) from hibernation/standby modes at a certain pre-determined time. I开发者_如何学Go've seen similar software do this, I think in VB. I can't seem to find any documentation anywhere on how to do this in Python. Does anyone have any hints? If it's not possible in Python, is there perhaps a way to do it in e.g. c++ and call that binary from python?

Thanks!


SetWaitableTimer can wake up a suspended machine.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号