Created
February 25, 2010 00:38
-
-
Save nandff/314083 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- iTunes: wait completion of refreshing a podcast | |
set podcast_name to "the name of a podcast" | |
tell application "iTunes" | |
repeat 600 times | |
set tl to (tracks of playlist "Podcasts" whose kind is "" and album is podcast_name) | |
if tl is {} then | |
exit repeat | |
end if | |
delay 6 | |
end repeat | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment