-- This is a relatively quick hack of a script that -- doesn't have much in the way of safeties or checks. -- It will interrupt whatever is currently playing in iTunes, -- for example. Obviously, these safeties could be added in. -- But I haven't done that. Live dangerously, I say. -- It's also worth noting that if this script is run more than once -- (without some smart playlist modifications and suchlike), all of -- the shows will be added to "Partially Played" more than once. tell application "iTunes" -- 'library playlist' can be changed to -- 'playlist "Any Playlist You have"' and it will be MUCH faster repeat with x in (every track in playlist "New Shows") play x pause -- Check the player position for the current track. -- If it is more than 30 seconds in, we want to add it -- to our playlist. if player position > 30 then -- This assumes that the "Partially Played" playlist -- already exists. If this were a fancy pants script, -- it would add it if it didn't already exist. -- No fancy pants here. add (get location of x) to playlist "Partially Played" -- If we're not at the zero position, but we're less -- than 30 seconds in, let's just rewind this track -- and keep going else if player position > 0 then set player position to 0 end if end repeat end tell