My name is Cédric Bozzi, I make apps and websites, and this is my tech blog — you’ll find news commentary here, from a very opinionated Mac-head.
Il y a une version française ici, but most of this blog’s contents are extracted from my Twitter feed, and hence only available in one language (which varies randomly).
I still don’t know why my on idle script that updated the “currently playing” item on my blog doesn’t work in Leopard, but this new bit is quite useful for just about anything you want to do with AppleScript:
tell application "iTunes"
−− won’t launch iTunes if it isn’t running
if it is running then
pause
end if
end tell
And the variant I find more intuitive:
if application "iTunes" is running then
tell application "iTunes"
pause
end tell
end if
P.S. Hmm, for some reason the “Stay Open” bit you must set when saving the on idle application had gotten lost at some point.
2001 01 02 03 04 05 06 07 08 09 10 11 12
2002 01 02 03 04 05 06 07 08 09 10 11 12
2003 01 02 03 04 05 06 07 08 09 10 11 12
2004 01 02 03 04 05 06 07 08 09 10 11 12
2005 01 02 03 04 05 06 07 08 09 10 11 12
2006 01 02 03 04 05 06 07 08 09 10 11 12
2007 01 02 03 04 05 06 07 08 09 10 11 12
2008 01 02 03 04 05 06 07 08 09 10 11 12
2009 01 02 03 04 05 06 07 08 09 10 11 12
2010 01 02 03 04 05 06 07 08 09 10 11 12