I've got a programme that I use regularly that has a really bad memory leak problem. It seems to be triggered when closing my laptop / putting it to sleep and then waking the laptop up again.
I wondered if it's possible to create an Automator workflow to say "when laptop is closed / when laptop goes to sleep close programme"?
tell application "MemoryLeak.app" to quitconsidered a "quick action" ? Most of the time i dont go toapple > sleepor let the sleep timer kick in, but rather close the lid on my macbook pro, in the instance where i close the lid, will the command still run ? – sam Feb 27 '18 at 11:16