Skip to content

Instantly share code, notes, and snippets.

@cameres
Created March 22, 2016 06:21
Show Gist options
  • Save cameres/b14f095755dc4cb97c28 to your computer and use it in GitHub Desktop.
Save cameres/b14f095755dc4cb97c28 to your computer and use it in GitHub Desktop.
A simple script that I created to allow audible to correctly detect audio books.
iTunes = Application('iTunes')
songs = iTunes.selection()
count = 0
for(i = 0; i < songs.length; i++){
songs[i].name = "Part " + count++;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment