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 21m 48s ago
Convert selected tracks and export the converted files to a new folder
downloaded 25m 4s ago
Recreate a playlist such that its visible columns mirror the Music library
downloaded 30m 57s ago
Export artwork of selected tracks to parent or specified folder
downloaded 35m 37s ago
Exports and then re-imports selected tracks' artwork
downloaded 40m 36s ago
Apply selected CD's CD Text to its disc and track tags
downloaded 46m 16s ago
Create a Ringtone track from a selected track
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.
Join Together will create and export a single AAC or ALAC audio file from the audio data of tracks dragged from iTunes or files dragged from the Finder.
Join Together features:
- Create a single audio file from two or more files drag-and-dropped from iTunes or the Finder
- Export final file as AAC or ALAC (Apple Lossless) and automatically add to iTunes as a Music or Audiobook track
- Join Together handles all audio processing; QuickTime or other third-party apps aren’t required
- Non-destructive—source files are left intact
- Flexible export options
- Easily supply tags, artwork and playback options for the final file
- Arrange, Get Info and audition tracks in the Track List
- Save names and timing of source tracks as table-of-contents to Lyrics tag of final file
- Built-in and online help
This latest version provides a button to reset the AAC export settings to 128kbps stereo @ 44.100 mHz for convenience; provides UI compatibility fixes between older and newer OS X operating systems; additional compatibility support for iTunes 12.2 and later; maintenance fixes and performance enhancements.
Join Together is free to try in Demo Mode during which all of its features are available. However, in Demo Mode the volume-level of the exported file will be sharply reduced after a few minutes and through the duration of the file. A registration code which will unlock the volume restriction is $5.00. This is a free update for registered users.
M3Unify is a flexible file exporter and M3U playlist creator that will allow you to off-load copies of your iTunes songs to a user-chosen location, separate folder, external drive, USB thumb drive, SD card and so on, the way you and your audio player want.
With M3Unify you can:
- Copy files of tracks dragged from iTunes to a selected folder
- Rename copied files using substitution patterns based on track tags
- Create Album or Artist or Artist/Album sub-folders based on track tags
- Export album artwork as “folder.jpg” files, one per Album sub-folder
- Create an M3U playlist
- Format M3U Extended track information using substitution patterns based on track tags
- Optionally convert files to AAC files (or MP3 files via iTunes)
Plus, M3Unify features:
- M3U preview
- Track information and auditioning
- Uncluttered, easy-to-use interface
- On-board and online help
This latest version adds the ability to create discrete “Artist” sub-folders (in addition to the previous ability to create “Album” sub-folders); a preference toggle to export tracks of compilation albums into a “Compilation” folder, as iTunes does; adds a “View Options” panel; additional support for OS X 10.11 El Capitan; and minor tweaks and performance enhancements.
This is a free update for registered users. It’s free to try with a 15-track limitation and $5.00 to purchase. More information and video is on this page.
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.