Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

pmset displaysleepnow

this is a terminal command that forces the screens off (and depending on how you have it set, requires you to login again, it's like closing the lid).

That might be somehow something you can work into it.

Also check out Automator: https://support.apple.com/guide/automator/welcome/mac as that can probably do something too.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: