Conditional code2


/ Published in: AppleScript
Save to your folder(s)



Copy this code and paste it in your HTML
  1. tell application "iTunes"
  2. if current playlist exists then
  3.  
  4. tell current playlist
  5. if song repeat = off then
  6. set song repeat to one
  7. else if song repeat = one then
  8. set song repeat to all
  9. else
  10. set song repeat to off
  11. end if
  12. end tell
  13.  
  14. end if
  15.  
  16.  
  17. end tell

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.