9 Oct 2003 Leimy   » (Master)

Nifty applescript "alarm clock" I use with iCal... Inspired, adapted and mostly stolen from my buddy Jason Deraleau on #opendarwin [irc.freenode.net]



-- launch iTunes and start music slowly increasing volume
set volume 5
try
	tell application "iTunes"
		activate
		play playlist "easy"
		set i to 10
		repeat 100 times 
			set the sound volume to i 
			set i to i + 1 
			delay 0.25
		end repeat 
	end tell 
on error 
	beep 
end try

Thanks again Jason

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!