Put Mac to Sleep, Test if Mac Has Sound Output

Hi,

I know that many Mac users have an issue that the Mac lost lots of power when Mac in sleep.

So I use KM to set the Mac to sleep if the Mac is idle after five minutes. It works well – now my MacBook only loses around 2% power a night.

But I have a issue that when I watch videos – KM still will put Mac to sleep after 5 minutes.

How can set KM to test if the Mac has sound output, if no sound output then can out Mac to sleep.

Thanks

Personally I’d test to see if my video app was at the front using this token %Application%1% which gives the name of the front application. If the name is my video app then I wouldn’t sleep my Mac.

1 Like