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

Popular Now

Batch Export Playlists

downloaded 41s ago

Batch Export Playlists v1.9

Export selected playlists as individual XML or M3U files

Super Remove Dead Tracks

downloaded 4m 35s ago

Super Remove Dead Tracks v4.4

Remove iTunes tracks disassociated from files

Music Folder Files Not Added

downloaded 12m 36s ago

Music Folder Files Not Added v5.2

Displays files in iTunes Media folder not in iTunes track library

downloaded 31m 43s ago

Filenames to Song Names v3.0

Rename selected tracks' Song Names with their filenames (minus extension)

Enter Description Text for Selected

downloaded 41m 25s ago

Enter Description Text for Selected v2.0

Enter text for the selected tracks' Description tag

Doug's Check For Update

downloaded 59m 28s ago

Doug's Check For Update v1.0

Check scripts downloaded to your computer from for latest version

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 a 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.


November 24 2015 - 10:22 am

NEW: Doug’s Check For Update

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:

Doug's Check For Update

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.

November 14 2015 - 7:07 pm

UPDATED: Music Folder Files Not Added v5.2

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.

November 12 2015 - 10:53 am

Is a user playlist Just Smart or a Genius?

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!

November 12 2015 - 8:40 am

NEW: Rating Notify

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.

November 7 2015 - 12:42 pm

UPDATED: Join Together v7.5.3

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.

Join Together

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.

October 21 2015 - 4:21 pm

iTunes play with once is Broken Redux

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:

tell application “iTunes”

set aTrack to item 1 of selection

play aTrack with once

end tell

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.

October 21 2015 - 2:24 pm

iTunes 12.3.1 Released

Title about says it all. No specific changes mentioned except for “overall stability and performance” improvements.

October 21 2015 - 1:21 pm

UPDATED: Now Where Was I? v2.0

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.

October 6 2015 - 9:17 am

UPDATED: TrackSift 2 v1.1.0

TrackSift 2 v1.1.0 is now available from the Mac App Store.

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.

October 2 2015 - 4:01 pm

Dupin v2.9

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.

Dupin is easy to configure and use. Get the well-featured demo and try it out for yourself now.

Site contents © 2001 - 2015 (that's right: 2001) Doug Adams and weblished by Doug Adams. Contact support AT dougscripts DOT com. About.
All rights reserved. Legal.
AppleScript, iTunes, iPod, iPad, and iPhone are registered trademarks of Apple Inc. This site has no direct affiliation with Apple, Inc.