Thursday, November 26, 2009

Entry #10: 36 sec on iTunes

Whoa. I've been struggling with code the whole week with Animata to get something done and finally something works! Apple script, this time. Will get back to Animata later.

So I'm controlling now iTunes with apple script. I created a program with the help of online tutorials, that

1. Opens iTunes or if your iTunes is open already, jumps to step 2.

2. Opens playlist named 'bra' and starts to play the first song of the playlist at 00:36 of the track.

3. Plays the song for 36 seconds and jumps to next track.

4. Continues until the end of playlist.

Download source code from my dropbox and put it under /Library/iTunes/Scripts/.

I know, it's nothing much, but for me this was a breakthrough in scripts!

No comments:

Post a Comment