on iTunesStartPlaylist(plist, rnd)
try
with timeout of iTunesTimeout seconds
if my iTunesIsRunning(true) then
tell application "iTunes"
play playlist plist
set shuffle of current playlist to rnd
end tell
my iTunesLog("start playlist " & plist)
end if
end timeout
on error number errNum
if errNum is -1712 then
my iTunesLogTimeout()
end if
end try
end iTunesStartPlaylist
Users browsing this forum: No registered users and 8 guests