Posted By

lildemon on 09/15/09


Tagged


Versions (?)

Conditional code2


 / Published in: AppleScript
 

  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  

You need to login to post a comment.