Imagine having Do Not Disturb turned on when you start your Session and have it turned off after you've stopped working.
Or, what if you can play "focus" playlist while you're on Session and play "relax" playlist on break.
You can even close Slack (because Slack notification does not respect Do Not Disturb on Mac) when session started to help you stay in the flow.
That all is possible! Session automation can do all that for you.
AppleScript. On Monterey and above, it's possible to use
Session will run automation you wrote depending on what
state you're in right now.
Some scenarios that's useful:
What you probably use is
stop_working, and possibly
You've seen the benefit. Now you can integrate it based on platform that you use. We've made a tutorial for each:
On Mac Session automation on Mac with AppleScript. No coding experience is needed.