I have an AppleScript at home to make iTunes’ volume fade to zero over a period of time. One of the features of this script is to set the Energy Saver prefs so the display sleeps within a few minutes. The original Energy Saver prefs are then restored.
Could the Display section of the Energy Saver prefs be set to the lowest possible value (a quick power off of the screen), the script pause long enough to cause the screen to turn off, and then the script set the original Energy Saver prefs?
I can’t claim to have written the script though, it’s here:
I have an AppleScript at home to make iTunes’ volume fade to zero over a period of time. One of the features of this script is to set the Energy Saver prefs so the display sleeps within a few minutes. The original Energy Saver prefs are then restored.
Could the Display section of the Energy Saver prefs be set to the lowest possible value (a quick power off of the screen), the script pause long enough to cause the screen to turn off, and then the script set the original Energy Saver prefs?
I can’t claim to have written the script though, it’s here:
http://www.hoboes.com/Mimsy/?ART=405
The interesting parts surround the “pmset” command.
- Patrick