I am looking for a way to sleep my display with an automator workflow. I don't know much about programming (I'm only 15), so go easy on me.
I have though about just doing it by running a shell script, but I don't really know how. I used the "pmset displaysleep 1" command, but I have to log in as root, and I don't know how to do that. Maybe I could have automator do a key command like "Control+Shift+Eject", but it won't record the eject key.
Thanks.
I have though about just doing it by running a shell script, but I don't really know how. I used the "pmset displaysleep 1" command, but I have to log in as root, and I don't know how to do that. Maybe I could have automator do a key command like "Control+Shift+Eject", but it won't record the eject key.
Thanks.