Re: "Eject" Keystroke?

Ah, I get it.

You can't reference the eject key, and there is no syntax to directly sleep the display. Who knew this would be so difficult...

The only solutions I found searching involve shell scripts that temporarily set the display sleep to the shortest setting and then wait that amount of time and set the settings back to what you had. Seems a little clunky to me.

Re: "Eject" Keystroke?

btw: Is turning off the display the same as setting the brightness to 0?

I don't think so because even manually changing my brightness on my Cinema Displays doesn't turn them the back lighting completely off like it does on a MacBook. Also the display brightness doesn't work on my Mac Mini at home that has generic DVI monitors plugged into it but display sleeping stops the video from outputting (i.e. control+shift+eject).

Sadly, the page is 404'd. But I'll probably write to them and ask about it.

Here's a download link for the SleepDisplay application. It's tiny, works instantly, and works under OS 10.6 and 10.7 (haven't tried it under more recent versions). I use it to kill the display on my living room iMac when I run the "Movie" or "Bedtime" macros on my home automation system.