Wednesday, August 17, 2005

In pursuit of Applescript.

Apple Developer Documentation contains many interesting things; hopefully it also has a tutorial for Applescript.
Neither cdp or cdplay is installed and my version of apt-get doesnt seem to know they exist.
....Trying to stop using nagware - iAlarm works great, but it's still not worth money. ...At least not for anyone inclined to make something on their own.

Here it is : Applescript Language Guide

It turns out that this is all I needed :

tell application "iTunes"
set sound volume to 100
set myPlaylist to " - AM SONG"
play
end tell

I just drop this is a file and have a cronjob pick it up at a set time.... :)

0 Comments:

Post a Comment

<< Home