how to turn off display on mac code example Example: how to turn off mac display pmset displaysleepnow