How can I detect the laptop lid opening/closure using Python run under Windows?
Asked
Active
Viewed 1,247 times
5
-
Not sure, but combine this: http://stackoverflow.com/questions/3355606/detect-laptop-lid-closure-and-opening and this: http://ironpython.net/ – nhahtdh Sep 26 '12 at 13:57
-
2There does not seem to be a specific lid open/close action, really. Depending on Power Management settings, the action trips that event. For instance, I am not sure if you can actually detect lid open/close in windows, but if lid close triggers system sleep, you can detect the system sleep. – selllikesybok Sep 26 '12 at 15:38