Download hundreds (455 and counting) of AppleScripts for Apple's iTunes that will help make managing your digital music collection easier and more fun!
downloaded 4m 31s ago
Remove iTunes tracks disassociated from files
downloaded 24m 17s ago
Recreate a playlist such that its visible columns mirror the Music library
downloaded 25m 17s ago
Displays files in iTunes Media folder not in iTunes track library
downloaded 29m 2s ago
Export artwork of selected tracks to parent or specified folder
downloaded 30m 33s ago
Resample selected tracks' artwork to user-set size limit
downloaded 31m 12s ago
Renumber order of selected tracks
AppleScript is a simple Macintosh-only programming language that can control and automate actions on your Mac. AppleScript is already available on your computer as part of the Mac OS and many popular applications can be automated using AppleScript scripts. Scripts written for iTunes can manage files and track information, create playlists, interact with other applications, perform innovative tasks, and handle many kinds of chores which otherwise would be repetitive, laborious, and/or time-consuming.
Cool! Where Do I Start?
Start browsing the site by using the scripts ↓ Menu link above. AppleScripts are gathered into these general Categories:
- Managing Tracks
- Managing Track Info
- Managing Artwork
- Managing Playlists
- Controlling iTunes
- Exporting Info
Or use the search box at the top of every page to try and find something specific.
Not sure how to install AppleScripts? Here's a Download/Installation FAQ & Video.
Assimilate View Options takes advantage of the iTunes behavior whereby a newly created playlist has the same visible columns as the Music library playlist. Select a playlist in iTunes and launch the script. That playlist will be re-created with the same columns available in its Songs View as are available in the Music library playlist.
This latest version will only work with iTunes 12.2 or later on OS X 10.10 or later. Because Things Are Different Now. An older version from 2012 is still available that will probably still work with pre-Yosemite/pre-iTunes12.2 versions.
Working on this script exposed me to some funny quirks with the latest version of iTunes. First, programmatically speaking, there is no way to tell the difference between a Genius and Smart playlist. In fact, (programmatically speaking) they appear as identical types. They both have a smart property set to true. Their playlist properties in the XML file both have Smart Info and Smart Criteria; and if this data for a Genius playlist is exported and re-imported, it does not produce a Genius playlist of tracks but just an empty Genius playlist. Buh?
Next, there is likewise no way to tell that a playlist downloaded from Apple Music (which will appear under a “Apple Music Playlists” header in—what used to be known as—the Source List) is such a thing. And if you duplicate it, the copy will appear with your regular playlists. Don’t use Assimilate View Options with these playlists.
And while I’m sort of griping here, must new playlists default to Playlist View as the initial view? I really like Playlist Views as an option and I’m all for cutting down on Preference Pane Clutter, too, but a popup with my favored initial view couldn’t take up that much space, could it?
Oh, and Santa? ‘Scriptable playlist description?
Kirk lists ten things iTunes does right at Macworld.
I’m very partial to #10.
I’m pleased to announce the debut of Apps Assist, a utility application (it’s not a script) that can display the installed, missing and orphaned iOS apps on your Mac.
If you’ve been an avid downloader of iOS apps over the years and back them up via iTunes to your Mac but never had a look in your Mobile Applications folder, well, I shudder to think how many files you’ve got in there that may be outdated, duplicated, or abandoned. To my own surprise, I had over twice as many unused versions of apps in there than I had installed apps.
Apps Assist will help you easily determine which apps are viable and which you might consider sending to the Trash. In the screenshot above, the black colored iOS app listings are installed, the gray ones are missing (these appear iconless and gray in iTunes), and the blue ones are orphaned in the Mobile Applications folder—they’re just outdated or otherwise not installed. Apps Assist provides tools to filter and sort the apps list, Trash selected files, view selected apps’ .ipa files in the Finder, export the apps list as a tab-delimited text file, and more. Probably most handy is being able to see the Filenames and Purchaser IDs for each app.
Apps Assist requires iTunes 12.2 or later running on OS X 10.8 or later. It’s free to try with limited functionality and frequent nags urging you to purchase a registration code for $1.99, which will restore full functionality.
Apple fixed the drag from Playlist View problem!
Apple has released iTunes 12.2.2 which fixes some Apple Music issues, some issues with sorting and displaying playlists and includes the obligatory improvements to overall stability and performance.
Sort by Artwork Size v1.1 can write the size of a track’s artwork (eg: “600×600″) to choice of Category, Comments, Description or Episode ID tag (enabling tracks to be sorted by artwork size in a playlist using the chosen tag) and/or copy tracks with artwork less than or greater than a user-entered size to a new discrete playlist.
Note that if choosing the first option, the chosen tag will be re-written so it is best to choose a tag that is not already in use or not typically associated with a track’s kind; for example, use the Episode ID tag (a TV Show tag) for music tracks or the Category tag (a Podcasts tag) for videos.
This latest version adds support for OS X 10.11 and accommodates changes in iTunes 12.2 and later.
Free to try for ten days, $1.99 thereafter. More info and download is on this page.
Search Results to Playlist can search a chosen category (Library, Music, Movies, etc) or the selected playlist for user-entered text by All, Song, Artist, Album, or Composer tag and copy the track results to a Search Results playlist, which will be created automatically if necessary.
It can optionally re-create or append to the Search Results playlist on each run. Floats over iTunes while active for easy access.
This latest version has some minor fixes for compatibility with iTunes 12.2+ and accommodations for OS X 10.11 beta.
More information and download is on this page.
“Do you have any scripts that work with iCloud Music Library/iTunes Match tracks? Like, to delete the cloud uploads and re-upload tracks?”
No. AppleScript cannot access anything in the cloud. Here’s one of the reasons why: While it’s certainly possible for me to write a script that arbitrarily deleted local tracks and files on your computer (with or without your knowledge), that’s OK because presumably you knew stuff was going to get deleted by running the script. It’s your responsibility, and Apple doesn’t care what you do on your machine. You could set in on fire if that’s what you wanted to do. Or install Flash. However, stuff in the cloud is Apple’s responsibility. And they have pretty much guaranteed you that your goods up there are safe. So they’re not going to let an AppleScript (of all things!) have arbitrary access to your goods in the cloud where it could potentially be a bad actor.
AppleScript can manipulate cloud tracks locally; for instance, copy such tracks to a new playlist or edit their tags. But anything to do directly with the cloud is strictly out-of-bounds.
The site issues I mentioned previously are fixed. However, please don’t hesitate to contact me if you experience any problems on the site. I’m still tying up loose ends. Thanks for your patience!
The site is experiencing some issues. I may be moving to a new hosting server as a result. Please excuse any disruptions or anomalies.