Posts

Showing posts from January, 2012

Mac itunes fade in alarm clock!!

Ok so you like to wake up to your tunes, but you want to do this the geeked out way. ok then.. this script will slowly raise the volume to gently wake you up in the morning from itunes... open up the terminal on your mac create a file called wake.sh jcp$ nano wake.sh paste this into the screen but change the song name MY_FAVSONG_IN_ITUNES to something you like **IT MUST MATCH THE NAME OF A SONG EXACTLY THAT IS IN YOUR iTUNES LIBRARY** IMPORTANT #!/bin/bash osascript -e "set Volume 9" # set the MAC speaker volume to max osascript -e 'tell application "iTunes" to set sound volume to 0' ; osascript -e 'tell application "iTunes" to play track "MY_FAVSONG_IN_ITUNES"' ; i=1; while [ $i -le 100 ] ; do osascript<<EOT tell application "iTunes" to set sound volume to "$i" # raise the volume every 2 seconds EOT sleep 2 ; (( i++ )); done ; sleep 480 ; osascript -e 'tell application ...