Help - Search - Members - Calendar
Full Version: AppleScript for turning off the monitor?
InsanelyMac Forum > Apple World > Mac Programming and Development > AppleScript and Automator
Swad
As per another thread, I was wondering if it's possible to make an Applescript to turn off the screen? I know it's possible to have it turn off after awhile, but one click or hotkey off (with something like a mouse movement or hotkey to turn it back on) would really be handy - especially for those with an iMac, etc.
Swad
Nobody? smile.gif
A Nonny Moose
Is there a Terminal command that can do it? If there is, it can be done via a shell script command in AppleScript.
sarahbau
I found a program called SleepDisplay. It says it doesn't currently work with Leopard. It also says it's for the iMac but I just tested it, and it worked fine for me in Tiger on my hackintosh (dual monitors, both slept).

http://linestreet.googlepages.com/
bal0
ctrl-shift-eject will turn your screen off immediately.
sarahbau
QUOTE (bal0 @ May 10 2008, 09:15 PM) *
ctrl-shift-eject will turn your screen off immediately.

Is that a Leopard thing? It doesn't work on any of my Macs.
FlyingMac
Click to view attachmenthi
in active screen corners there's such this option,
just goto system preferences / expose and spaces / and then for example choose right top corner, and from pop down menu choose sleep monitor.
now when you roll over mouse to right top corner of monitor the monitor will sleep.
hop to be useful for u.


QUOTE (Mash @ Sep 3 2006, 03:57 AM) *
As per another thread, I was wondering if it's possible to make an Applescript to turn off the screen? I know it's possible to have it turn off after awhile, but one click or hotkey off (with something like a mouse movement or hotkey to turn it back on) would really be handy - especially for those with an iMac, etc.

inimicus
QUOTE (bal0 @ May 10 2008, 06:15 PM) *
ctrl-shift-eject will turn your screen off immediately.


SOLUTION!




For leopard, at least.  Thanks.

FlyingMac
sorry man. but where is eject key, u said ctrl+shift+eject
what do u mean about eject?
tnx.

QUOTE (inimicus @ Aug 16 2009, 01:29 AM) *
SOLUTION!




For leopard, at least.  Thanks.

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.