Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'An AppleScript to quickly sleep the display' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
An AppleScript to quickly sleep the display
Authored by: car1son on Aug 15, '05 10:10:03PM
I'm curious why

tell application "Finder" to sleep

doesn't work work for Mac in question?

[ Reply to This | # ]

An AppleScript to quickly sleep the display
Authored by: jgl24 on Aug 15, '05 11:01:27PM
I think they're trying to just put the display to sleep, and not the whole computer. I've been doing something similar from the terminal:
alias sleeper='osascript -e "tell Application \"System Events\" to sleep"'
I put this line into my ~/.profile file and then whenever I want a quick battery save I just type sleeper.

[ Reply to This | # ]
An AppleScript to quickly sleep the display
Authored by: bdog on Aug 15, '05 11:02:45PM

This puts the entire system to sleep. The goal of this hint is to only sleep the display.



[ Reply to This | # ]