❔ Laptop Lid Close Event?
Anyone know how I can detect when the laptops lid is closed?
This is my code so far but it doesn't work, any help is greatly appreciated
3 Replies
interresting question
doesnt your laptop just fall asleep then or did you disable that?
id say use a window not a service https://stackoverflow.com/questions/4486674/capturing-laptop-lid-closing-event-in-windows
Stack Overflow
Capturing laptop lid closing event in windows?
I am looking for a way to intercept the laptop lid closing event. In windows 7, the power management allows me to select a desired behavior when the lid is closed. So there must be a way windows kn...
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.