Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > schedule os x hardware wake-up

schedule os x hardware wake-up
Thread Tools
Fresh-Faced Recruit
Join Date: Jun 2006
Status: Offline
Reply With Quote
Apr 8, 2006, 12:27 PM
 
I wanna' put my computer to sleep at night, then run a script the next morning to wake it, while I'm still sleeping, and run an iTunes playlist like an alarm. There's gotta' be a simple way to schedule OS X 10.4 to wake-up hardware, then run a script. Anybody know what it is?

I posted an earlier thread citing an alarm clock application w/ didn't quite work, either:

http://forums.macnn.com/82/applications/291911/os-x-alarm-app-wont-scale/

Any help?
     
Addicted to MacNN
Join Date: Jul 2005
Location: Cooperstown '09
Status: Offline
Reply With Quote
Apr 8, 2006, 12:48 PM
 
I think this issue could be resolved doing the following...

1.) Set your wake-up time via the "Schedule" feature of the Energy Saver preference pane in System Preferences to wake your system up.

2.) You can then create an iCal event to run every morning at your desired wake-up time set above, and in the "Alarm" section, choose "Run Script" (as seen below):

     
Fresh-Faced Recruit
Join Date: Jun 2006
Status: Offline
Reply With Quote
Apr 8, 2006, 12:56 PM
 
I appreciate that. I hadn't realized there was a schedule wake-up feature in the System Preferences panel. That should work great!

-jabroni5
     
Senior User
Join Date: Jan 2002
Location: UK
Status: Offline
Reply With Quote
Apr 8, 2006, 01:10 PM
 
Let me be really stupid and ask a question from the other end of this, how do I create the script to play an iTunes playlist?
     
Grizzled Veteran
Join Date: Nov 2001
Location: Oregon
Status: Offline
Reply With Quote
Apr 8, 2006, 04:29 PM
 
Originally Posted by dazzla
Let me be really stupid and ask a question from the other end of this, how do I create the script to play an iTunes playlist?
I’ve never done that, but i would start by looking at iTunes’ dictionary in the Script Editor. That’s how you figure out how to make apps do what you want them to do.
     
Fresh-Faced Recruit
Join Date: Jun 2006
Status: Offline
Reply With Quote
Apr 8, 2006, 09:41 PM
 
Let me be really stupid and ask a question from the other end of this, how do I create the script to play an iTunes playlist?
AppleScripts have roots back to the olden days of the 80s. I haven't been using them for more than a couple years, but they can be handy. I asked this very same question at http://forums.macosxhints.com , and was directed to this pre-written script. To run it, open up the Applications/Apple Script folder and run the Script Editor program. Copy and paste text from the following web link into the blank window that appears:

http://homepage.mac.com/chapin.klein...kday_alarm.txt

Click the "Compile" button and then the "Run" button to test it. Change the the variables as you see fit, to change the playlist, or to adjust the volume and duration of the alarm, then save the script. That script can now be run from iCal at a specified time.

Let me know if it works OK...

-jabroni5
(Last edited by jabroni5; Apr 9, 2006 at 10:59 AM. (Reason:AppleScript correction (update)))
     
Addicted to MacNN
Join Date: Jul 2005
Location: Cooperstown '09
Status: Offline
Reply With Quote
Apr 8, 2006, 10:09 PM
 
Originally Posted by jabroni5
I appreciate that. I hadn't realized there was a schedule wake-up feature in the System Preferences panel. That should work great!

-jabroni5
No problem, I am glad to hear that the suggestion fits your needs.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 03:44 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2