1. on forceQuitiTunes()
  2. tell application "System Events"
  3. set pid to missing value
  4. repeat 10 times
  5. try
  6. set pid to unix id of process "iTunes"
  7. tell application "iTunes" to quit
  8. on error
  9. return
  10. end try
  11. delay 1
  12. end repeat
  13. do shell script "iTunes=" & pid & "
  14. for i in {1.10}
  15. do
  16. kill -0 $iTunes || exit 0
  17. kill -9 $iTunes
  18. sleep 1
  19. done > /dev/null"
  20. end tell
  21. end forceQuitiTunes
  22. forceQuitiTunes()
  23. tell application "iTunes" to reveal URL track "181.FM - True R&B" of user playlist "Internet Songs"

Relaunch iTunes