Is It Possible to Trigger My Mac to Go to Sleep Based on an Event in My Calendar?


I want my computer to go to sleep based on certain events in my calendar, is it possible to achieve that? I currently use Google Calendar but I can import the events to Apple Calendar if need be.

Thank you

Hey Mohamed,

Welcome to the forum!  :sunglasses:

I think you should be able to export a trigger file for a Keyboard Maestro macro and use the calendar to open the file at the given date and time.



Thank you for the swift reply @ccstone

But how do I use the calendar to open the file?

There is a good description of how to do this in the link below.

1 Like