Welcome!

Download hundreds (455 and counting) of AppleScripts for Apple's iTunes that will help make managing your digital music collection easier and more fun!

Popular Now

Needle Drop

Needle Drop v5.0

Play through each track in a playlist at your set interval

Save Album Art as folder.jpg

Save Album Art as folder.jpg v3.0

Export album artwork as folder.jpg to Album folder

Convert and Export v2.1

Convert selected tracks and export the converted files to a new folder

Super Remove Dead Tracks

Super Remove Dead Tracks v4.2

Remove iTunes tracks disassociated from files

Music Folder Files Not Added

Music Folder Files Not Added v4.3

Displays files in iTunes Media folder not in iTunes track library

List MIAs

List MIAs v4.0

Display, create text file listing info of dead tracks

What's AppleScript?

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:

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 the Download/Installation FAQ & Video.

Check back often or subscribe to my Twitter feed @dougscripts, my RSS blog feed and 30 Most Recent Scripts RSS to stay notified about new and updated scripts and info.

Latest:

October 19 2014 - 5:59 pm

UPDATED: Enter Description Tag for Selected v2.0

iTunes 12 no longer provides a means for editing the Description tag of multiple-selected tracks. This oldie, Enter Description Text for Selected, was just updated to v2.0 and will let you enter text for the Description tag of the selected tracks.

Technically (according to iTunes), the Description tag isn’t supposed to be applicable to music tracks. But all track entries have an AppleScript description property.

October 16 2014 - 6:33 pm

iTunes 12.0.1 is Available

Apple has released iTunes 12.0.1. It’s not just available for Yosemite, but Mavericks as well. You’ll find it via the Mac App Store in the “Updates” section.

[UPDATE: According to Apple's iTunes download page, iTunes 12 can run on OS X 10.7.5 and later.]

October 11 2014 - 1:09 pm

Dupin v2.8.2 Available

You’re probably getting your iTunes library all in order to make it ready for a nice new operating system. If so, you’ll want to pick up the latest version of Dupin, the iTunes Duplicates Manager.

This latest version fixes a few rare bugs: a case-sensitivity issue with files located on an NAS that prevented Purging, errant detection of iTunes Match being enabled when it actually isn’t, a Selection Window flickering problem, no longer wheezes if you happen to move the iTunes Media folder while Dupin is running, and a few other way-out-there situations are accomodated.

You can get version 2.8.2 by using Dupin’s “Check for Update…” command in its app menu, or download it directly from here.

This is a free update for registered users of v2.5 and later. Otherwise, Dupin is $15.

October 8 2014 - 2:35 pm

Hi-Yo, Yosemite!

Looks like OS X 10.10 Yosemite will see an official release sometime next week (at the earliest) now that Apple has announced a Special Event for October 16.

Perhaps you’ve noticed that over the past few of months I’ve been updating some of the more popular scripts and applets for Yosemite compatibility. Updating stuff for the latest OS has become an annual ordeal. I spend most of the Summer and Fall updating old stuff for compatibility, and then the next six months working on feature upgrades and new scripts. And then another WWDC arrives, and the cycle continues.

As a result, not everything gets the attention it deserves. So if there’s a script or app you use that needs to be updated for Yosemite, let me know. I’ve got a pretty long list, but I’d prefer to prioritize based on popular usage.

Many of the Yosemite-ready scripts are dropping support for pre-10.8 OSes. Frankly, keeping scripts working over five operating systems (10.6-10.10) and two processor platforms and making them work great for everybody is not fair to the majority of users who want modern features without compromise (nevermind the support issues). In many cases, older versions of the scripts will still be available. (Although, if you can get off of 10.7 I really believe you’ll be doing yourself a favor. It’s my least favorite OS ever.)

And then there’s iTunes 12. For the most part, and with the exception of UI changes and the like, iTunes 12’s scripting infrastructure is pretty much the same. I do worry that as new features are added cloud-wise some of iTunes’ AppleScript goodness will fall to the wayside (eg: shuffle, song repeat, gapless, playlist window, updatePodcast, and so on). But accessing playlists, tracks, files and tags in general is still pretty healthy. Apple even introduced a new iTunes Library framework with Mavericks. So things are looking pretty good in that department for the foreseeable future. And as I often say, I don’t care what iTunes used to do or what would be good if it could do; I just care about what it does now.

And “now” arrives next week. Hi-yo!

October 8 2014 - 1:44 pm

UPDATED: List MIAs v4.0

List MIAs v4.0 will check your entire iTunes library for missing and presumed dead tracks—those tracks that iTunes is unable to associate with a file and which are listed in iTunes with a “!”—and can create a text file listing these tracks by alleged File Path (if available), Song Name, Artist and Album, which you can view using TextEdit.

This latest version has additional support for OS X 10.10 Yosemite/iTunes 12, drops support for pre-OS X 10.8, adds a “Check for Update” menu command, and tweaks to improve performance.

By the way, to actually remove dead tracks from iTunes use Super Remove Dead Tracks or TrackSift 2.

More info and download is here.

October 7 2014 - 2:27 pm

UPDATED: Music Folder Files Not Added v4.1

Music Folder Files Not Added v4.1 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. Includes options to Add a selection of found files to iTunes, move them to the Trash, and export a text file listing the file paths.

This latest version has additional support for OS X 10.10 Yosemite.

See the video on YouTube.

October 7 2014 - 1:17 pm

Duplicate Purchases Syncing Bug in iTunes and iOS 8

Rob Griffiths (of Many Tricks and founder of Mac OS X Hints) had a rough couple of days this past weekend trying to get his new iPhone 6 to sync with his iTunes library. It just wouldn’t. He writes about the ordeal in “An iPhone 6, (no) movies, and me”.

It turns out, as Rob reports in a follow-up, “A nasty little iTunes/iOS bug may be causing media sync issues”, that there’s a bug in the pipeline between the current versions of iTunes and iOS 8. The syncing may stop if you have duplicates of purchased media files.

At first, Rob tried using iTunes’ “Show Duplicates” tool to locate any duplicates. But it didn’t find every duplicate track entry (it’s not very rigorous, even using “Show Exact Duplicates”). He then turned to my duplicate managing app Dupin and was able to find the dupes by jiggering the Criteria settings to find album tracks with the same track number—matching using the name of the tracks failed because the duplicates had slightly different titles. (I’m pretty sure iTunes’ “Show Duplicates” always considers the name of the tracks.) Once he eliminated the duplicates the syncing went fine.

I must admit, this doesn’t affect me and I hadn’t even heard about this issue until now. Of course, it’s still early days with iOS 8 adoption.

October 6 2014 - 8:01 am

UPDATED: Needle Drop v5.0

Needle Drop v5.0 will play each track in the selected iTunes playlist for a set time interval optionally starting at a set number of seconds into each track, beginning with the selected track. Handy for ’scoping playlists.

The latest version adds support for OS X 10.10 Yosemite and iTunes 12 and has other minor tweaks.

More information and download is here.

October 3 2014 - 6:01 am

UPDATED: Save Album Art to Album Folder v5.0

Save Album Art to Album Folder v5.0 will export the artwork of the selected tracks (or the tracks in a selected playlist) as an image file to the folder which contains each selected track’s file—presumably the track’s Album folder—or a single user-selected folder.

Version 5.0 adds support for OS X 10.10 Yosemite and iTunes 12 (dropping support for pre-10.8), adds “Replace existing image file” toggle, adds “Check for Update” menu command, and has some minor maintenance tweaks.

More information and download is here.

October 3 2014 - 6:01 am

UPDATED: Save Album Art as folder.jpg v3.0

Save Album Art as folder.jpg v3.0 will export the artwork of the selected tracks or tracks in the selected playlist as a JPEG image file named folder.jpg to the folder which contains each selected track’s file–presumably the track’s Album folder. Many third-party music players and systems (Sonos, for example) may look for a “folder.jpg” here to use as display artwork.

Version 5.0 adds support for OS X 10.10 Yosemite and iTunes 12 (dropping support for pre-10.8), adds “Check for Update” menu command, and has some minor maintenance tweaks.

More information and download is here.

Site contents © 2001 - 2014 Doug Adams and weblished by Doug Adams, dougscripts AT mac DOT com. About.
All rights reserved. Legal.
AppleScript, iTunes, iPod, iPad, and iPhone are registered trademarks of Apple Inc.