Archive for the ‘Snippets’ Category
March 13 '10 - 2:20 pm
A Correspondent via the AppleScript Users email list detected a problem with a script snippet of mine regarding grabbing the artwork data from an iTunes track with iTunes 9 and Snow Leopard. That very day I also had updated Export Artwork with a fix for a similar issue. At any rate, the snippet resides in the Spare Parts section and, to be more exact, the updated snippet with the fix is here.
posted in Managing Artwork, Snippets
August 11 '09 - 10:44 am
A couple few days ago I posted a script here that would ping the Radio Paradise stream until its server accepted the connection, suppressing the error dialog that would appear when a connection was denied. Well, that was the wrong version of the script. Here is the correct version, and the one I fire up every morning. You must select a radio stream track first, then run the script:
tell application "iTunes"
if selection is {} then return
set strm to (item 1 of selection)
if (get class of strm) is not URL track then return
repeat
try
play strm
exit repeat
on error m number n
delay 15
end try
end repeat
end tell
The earlier script used the open location command, errors from which could not be defeated with the try block.
posted in AppleScript, Managing Tracks, Missing Menu Commands, Snippets, iTunes