Download hundreds (457 and counting) of AppleScripts for Apple's iTunes that will help make managing your digital music collection easier and more fun!
downloaded 8m 29s ago
Create a text file containing an alphabetical list of chosen tag data
downloaded 37m 59s ago
Droplet converts movies to H.264 and adds to iTunes
downloaded 38m 59s ago
Convert .mov track to .m4v track with QuickTime, optionally add to iPod
downloaded 40m 11s ago
Search Spotlight-indexed drives for audio files based on Album name
downloaded 40m 50s ago
Remove iTunes tracks disassociated from files
downloaded 43m 29s ago
Convert selected tracks and replace them with converted versions
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.
While some applets and all apps from this site have a menu command to “Check for Update…”, many AppleScripts do not. To make it easier to check if a script you downloaded at one time or another has a newer version available, use Doug’s Check For Update. Just drop an AppleScript file on it (or launch it and use an Open Panel to navigate to a specific script) and it will check the website for the latest version of that script:
Sure, it’d be great if I could include a Sparkle-like mechanism to automatically check and install updates—as my apps do. But the code required to do so would just add too much overhead to a—very likely—simple AppleScript.
More information and download is here.
I think I finally licked a text encoding problem with Music Folder Files Not Added in this latest version.
Music Folder Files Not Added will list the file paths of the files in your designated “iTunes Media” folder which are not in iTunes’ track library. Additionally, you can select a different parent folder and its contents will be compared to the iTunes library. The files listed in this screenshot are located in my “iTunes Media” folder but have no associated track entry in iTunes:
Includes options to Filter results, Add a selection of found files to iTunes (Mobile Applications can not be added this way), move them to the Trash, and Export a text file listing the file paths.
Several users had been reporting issues with text encodings (especially with Greek, German and Cyrillic text, but others also) and this version addresses this problem.
More information and download is here.
Just noticed the most recent iTunes sdef (12.3.1) now contains a genius flag for user playlist. Sometime around iTunes 12, Apple made Smart and Genius playlists both respond to smart and you couldn’t tell the difference. It is now possible to distinguish Smart and Genius playlists with AppleScript. Thanks!
I used to be pretty good about maintaining my tracks’ Ratings. But I have lapsed. I used to use my applet Rate Me! Rate Me! to encourage me to rate tracks as they were playing. But I haven’t updated that in a few years and, really, it was conceived before Notifications became available.
And while iTunes Notifications are fine, they don’t display the Rating for the track. So I had to roll my own.
Rating Notify is a simple applet that runs in the background and when iTunes plays a Music track it dispatches a Notification displaying the track’s Name, Artist, Album, Artwork and Rating. The script can also be set to only show Notifications for tracks without a rating. The tracks in these Notifications, for example, have not been rated:
Clicking the Notification reveals the track in iTunes’ Music library so you can work on it—or you could use the iTunes Dock menu to rate it (tracks cannot be rated from the Notification, if that’s what you were wondering). Additional options can be set via System Preferences: When the alert style in System Preferences > Notifications for the applet is set to “Banners”, Notifications will self-dismiss; when set to “Alerts” each Notification will remain posted until it is user-dismissed, as in the screenshot above.
For iTunes 12 and later/OS X 10.10 and later. More information and download is here.
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, leaving the original source tracks and files intact.
This latest version, 7.5.3, fixes a problem some users were seeing with encoding at lower sample rates, fixes an issue when using advanced Session Options and has minor performance enhancements. It’s a free update for registered users.
You can try Join Together for free in Demo Mode, which will sharply reduce the volume of the exported file after a few minutes. A registration code for Join Together that removes the Demo Mode volume restriction is $5.00.
I posted about this back in July but the problem seemed to go away (which is weird, too).
To play a track just once and then stop you use the once modifier with the play command:
As I said, I first noted this in July when iTunes 12.2 came out. But then I somehow couldn’t get it not to work. Also saw a mention of it on the AppleScript mailing list, but even then I got it to work. Well, I definitely can’t get it to work now. Filed a bug.
UPDATE: Ah-HA! It will work if the Up Next queue is completely empty, which can be made so by clicking its “Clear” button.
Title about says it all. No specific changes mentioned except for “overall stability and performance” improvements.
Forgot to post about this a few days ago when I actually updated the script.
Now Where Was I? v2.0 is a simple applet that, when run while a track is playing or paused, will “remember” the current track and quit iTunes; when it is next run it will launch iTunes and play that track. If a track is set to “Remember playback position”, it will pick up playing from where it left off.
This latest version is generally updated for newer versions of iTunes and the Mac OS. More info and download is here.
TrackSift 2 brings together nine fun and useful Tools for iTunes in one attractive, simple to install and easy to use app:
- • Sort tracks into playlists by Apple ID • Merge two or more playlists
- • Delete “dead” tracks • Delete unused non-Tunes Genre names
- • Create “One-Hit Wonder” and “𝑛 Songs by Artist” playlists
- • Find songs without album art, without lyrics, and not in playlists
More information and links to download are on this page.
With Dupin you can:
- Very quickly find all sets of duplicate iTunes tracks based on your choice of criteria
- Select the “Keeper” tracks from among a number of duplicates automatically using a variety of versatile filtering options
- Consolidate the play, skip, and ratings information from all tracks in a Dupe Group to the single “Keeper” track
- Re-populate iTunes playlists replacing “non-Keeper” tracks with “Keeper” tracks
- Remove duplicate tracks from iTunes and send files to the Trash
- Audition tracks with QuickLook
- Manage intentionally duplicated tracks
- Delete duplicate “dead” tracks
- View duplicates in non-loaded libraries created with iTunes’ multiple library feature
- Sort tracks and view track info
- Export a list of duplicates to a text file
- Locate tracks in the Finder and in iTunes
In addition, Dupin features:
- Compatibility with iCloud Music Library/Apple Music
- Support for Notifications
- Familiar iTunes-like interface
- Robust Documentation via the Help Menu
- Ample keyboard shortcuts
- Customizable toolbars
- Optional update checking
This latest version is a maintenance release with performance enhancements and is a free update for registered users.