Hi,
I'm looking for a way of launching a small executable every time a computer resumes from sleep state (this is for a laptop, i want to do some stuff every time the lid is open and every time the computer is started). I know how to add a program for it to be run every time windows start, but i'm completely lost on if there's a way for a program to be notified when the computer resumes from the sleep state or some things like that.
I did some search on the internet, but it was unsuccessful.
Thanks