Re: Sleep during CD play
Re: Sleep during CD play
- Subject: Re: Sleep during CD play
- From: Max Bonilla <email@hidden>
- Date: Mon, 7 May 2001 17:14:23 -0500
Thanks for the suggestion, but this is not such a major problem that
I would need to spend $50 for a solution. I was hoping to script
something that is more or less free. Any other ideas are welcome!
Max
> Does someone know of a way in which one could make an iMac (OS 9)
turn the display off while playing a music CD without stopping the
music; that is, other than waiting 30 minutes for the system to go to
sleep? The idea is to be able to turn the display off at will, while
the machine keeps playing the music.
If you are willing to wait 2 minutes for the display to sleep, then you can
lower the idle time settings before starting the CD.
We produce a product called DssW Power Manager. Power Manager is a
Macintosh automation and power management suite. It is fully scriptable and
includes lots of sample scripts to get you started.
The following script will disable system idle sleep, which can stop the CD
from playing, and sets the display to sleep after 2 minutes.
property kNeverIdle : 61
property kLowestDisplayIdle : 2
tell application "Power Manager"
-- talk to the active configuration
tell active configuration
-- talk to the idle time properties
tell idle time
-- enable idle time
set state to enabled
-- disable system idle
set system idle time to kNeverIdle
-- set the display to sleep as soon as possible
-- (2 minutes of idle time)
set display idle time to kLowestDisplayIdle
end tell
end tell
end tell
Alternatively you could set up a specific configuration that includes the
low idle time values and switch to it when you start playing the CD.
You can download Power Manager from <http://www.dssw.co.uk/powermanager/>.
Yours sincerely,
DssW Support
--
email@hidden
Powerful Macintosh Software
Dragon Systems Software Limited (DssW)
http://www.dssw.co.uk/support/
_______________________________________________
applescript-users mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/applescript-users