Automate Mac: Alarm + Apple Quick Start
June 19, 2008
Applescript is a powerful and useful tool for automation one’s mac. Here is a quick script I wrote to automate my mac in the mornings and have it serve as my alarm. This short guide allows you to automatically start your computer each morning at a specific time, start iCal, have iCal run the script which will play a playlist from iTunes to wake you up, then start Firefox and open iGoogle which can display the weather, news, you email, and anyother information, and finally open another tab for a different email such as my purdue webmail and log you in. If you think about this, it saves you about 5-10 minutes each morning between waiting for you computer to start up to opening all the different pages for information. Basically, it’s a great way to start your morning!
- Download the script.
- Open System Preferences -> Energy Saver -> Schedule… and schedule the time you want your mac to start up.
- While still in System Preferences go to Accounts -> Login Items -> “+” to add iCal.
- Open iCal, add new event, under alarm in the event creation choose ‘Run Script’, choose the script you downloaded.
- Open the script you downloaded and change the iTunes playlist “SummerMix” to a playlist you make in iTunes.
- Change the web address “https://webmail.purdue.edu/” to the email service you want.
- Change “username” and “password” to your information for your email service.
- Get an iGoogle Account if you don’t already have one and make sure you have Firefox remember the password.
- Enjoy!
If anyone has any suggestions to add or can get BitPim to work so it automatically syncs with a Bluetooth phone please let me know!

August 8, 2008 at 4:50 pm
Thanks for the script,
I am new to AppleScript but am learning. What’s the difference between a property and a variable?
Ed
4ppleScript