Sun 27th Mar 2005
Posted early in the morning, filed under
AppleScript.
Someone on the AppleScript Studio Mailing List wanted to know how to get an age; here’s my take:
set birthday to date "Thursday, 1 April 1976 12:00:00 AM"
set age to (year of (current date)) - (year of birthday)
if month of (current date) < month of birthday then
set age to age - 1
else if month of (current date) = month of birthday then
if day of (current date) < day of birthday then
set age to age - 1
end if
end if
get age
Sun 27th Mar 2005
Posted early in the morning, filed under
General.
Sun 27th Mar 2005
Posted in the wee hours, filed under
iTunesRater.
Thanks to Sam Deane, and his Now Playing script, I have added the following functionality to iTunesRater.
When a song with no Artwork starts playing, Amazon.com is contacted, and if the Artwork is available, then a drawer with possible artworks is opened. Eventually, when you click the Artwork you want, it will be copied to the track, (and all others from the same album).
Now if only I can make it so it does this bit in the background - perhaps another script that gets called?