Monday, October 17, 2011

Use Automator to play song everyday morning

I wake up everyday to alarm sound that's pretty boring. Well I could download an interesting sound and have it as alarm sound. I was wondering if there is a way to fire up a job on my new mac. I searched online and found a very nice way to do it. Mac has a tool called "Automator". If you can't find where it is, just use search on the right top corner. I wanted to play "Suprabhatam" everyday morning as my alarm sound. I found a youtube video that has it. I am not very good at scripting (to be honest I dont know anything on Mac). So I used Automator to create a workflow. Here are the steps:
- Open Automator
- From the library, choose Internet
- Get specified URL. This would just get data from the URL and not really open it.
- Specify the URL you want , which is the video link to youtube.
- Click "Display URL" from the options tab. This would open the URL
- Save the workflow

This creates a workflow item that you can click and it would open youtube with the video you specified. Now, we need to find a way to fire it up everyday. iCal with the ability to have a repeat schedule comes handy for that. Here is how you do it:
- open iCal
- schedule a meeting/action at the time you want the video to be played
- chose alarm type to "open file"
- chose the workflow file you created

Thats it. The iCal will fire up the file everyday at the same time and the youtube file will be played. I love it now. I wake up to "Suprabhatam" everyday.
Do let me know if there is a simpler way to do the same, I am interested to know.

No comments:

Post a Comment