dougscripts.com

Popular Now

downloaded 7m 53s ago

Re-Embed Artwork v4.0

For Music Exports and then re-imports selected tracks' artwork

Move Playlists to Folder

downloaded 8m 13s ago

Move Playlists to Folder v5.0

For Music Batch-move selected playlists to a new or existing folder

Playlist Manager

downloaded 58m 16s ago

Playlist Manager v5.1

For Music Perform tasks on a batch of playlists; rename, delete, duplicate, merge, more

Albums Amiss

downloaded 1h 44m 8s ago

Albums Amiss v2.0

For Music Finds album tracks with inconsistent track and disc tags

Track CPR

downloaded 2h 51m 0s ago

Track CPR v6.0

For Music Re-associate batch of dead tracks with files dropped from Finder

Save Album Art as folder.jpg

downloaded 3h 11m 53s ago

Save Album Art as folder.jpg v6.0

For Music Export album artwork as folder.jpg to Album folder

Welcome!

Download hundreds of AppleScripts for Apple's Media Apps that will help make managing your digital music and video collection easier and more fun!

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 macOS and many popular applications can be automated using AppleScript scripts. Scripts written for Apple's Music, TV and iTunes apps can manage files and track information, create playlists, interact with other applications, perform innovative tasks, and handle many kinds of chores with accuracy and precision which otherwise would be repetitive, laborious, and/or time-consuming.

And, perhaps most conveniently, AppleScripts can be launched from the Music app's Script menu and can even be assigned Keyboard Shortcuts.

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.

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

Latest:

Subscribe to the RSS feed. Looks best in NetNewsWire.

October 6 2026 - 1:33 pm

UPDATED: Move Playlists to Folder v5.0

This applet will allow you to quickly move one or more selected playlists to an existing or new Playlist Folder instead of having to drag each of them one at a time.

Move Playlists to Folder in action

Latest version:

  • UI and layout updates for macOS 26 and later
  • Speedier playlist indexing
  • Removes ability to extricate playlists from folders
  • Additional maintenance

More information for Move Playlists to Folder v5.0 and download link is here.

October 3 2026 - 12:23 pm

UPDATED: Albums Amiss v2.0

This applet will generate a text file report listing the albums in the Music library whose track and disc numbers and counts are either missing or do not validate mathematically as a complete album. Additional options will check an album’s tracks for same audio file kind, same compilation settings and single Album Artist and/or Sort Album Artist. (To be clear: the script does not check some kind of online database; it uses the extant local track entry information. Thus, tag accuracy is essential.)

Albums Amiss in action

Latest version:

  • Adds additional scanning options to check for same file kind, extant Album Artist and Sort Album tags
  • Results playlist now optional
  • Other improvements to logic
  • UI and layout updates for macOS 26 and later

More information for Albums Amiss v2.0 and download link is here.

September 25 2026 - 2:40 pm

UPDATED: Track Down Purchases v6.0

This applet can examine the Music library and sort tracks purchased from the iTunes Store into discrete playlists by either the purchaser’s name or Apple ID (eg: “Purchased by Jane Smith” or “Purchased by janesmith@email.com”) which in turn will be placed in a “Purchaser Playlists” playlist folder.

Track Down Purchases in action

Latest version:

  • UI and layout updates for macOS 26 and later
  • Unified processes in a single window
  • Icon and docs update

More information for Track Down Purchases v6.0 and download link is here.

September 23 2026 - 3:30 pm

Exploding Music Libraries

From 2001, a Correspondent writes: “Dear Doug. Maybe you can help me. I have a large library (2000 tracks) and…”

From 2006, another Correspondent writes: “Doug, my large library (6000 tracks) has started to…”

From 2010, some other Correspondent writes: “Doug. Huge library (20,000 tracks). What can I…”

From 2016, Correspondent reports: “My ginormous library (75,000 tracks) just went…”

From 2022, the guy from 2001 writes: “Doug, my library has exploded over the years to 150,000 tracks and…

Maybe you see how this has been going.
(more…)

September 12 2026 - 10:15 am

UPDATED: No Lyrics to Playlist v3.3

This applet will scan the Music library or a selected playlist for tracks whose “Custom Lyrics” tags are blank and copy them to a new discrete playlist. Can also toggle to search only for tracks with lyrics.

(Please Note: The script can only discover tracks with “Custom Lyrics” provided by the user. There is no accounting for lyrics made available via Apple Music or Cloud/Sync Library. That data is inaccessible.)

No Lyrics to Playlist in action

Latest version:

  • UI and layout updates for macOS 26 and later
  • Improved selection logic
  • Adds Command-. to cancel
  • Maintenance
  • Icon and docs update

More information for No Lyrics to Playlist v3.3 and download link is here.

September 11 2026 - 12:59 pm

UPDATED: Display File Path v3.4

This script will float alongside the Music app and continuously monitor it for a single track to be selected and display that track’s file path (if it exists); or the script can be set to likewise display the file path of each playing track. Includes Show File in Finder and Copy Text to Clipboard and appearance options.

Display File Path in action

Latest version:

  • UI and layout updates for macOS 26 and later
  • Adds Settings for font size and hide, show and dim “Media” folder portion of the file path
  • Icon and docs update

More information for Display File Path v3.4 and download link is here.

September 10 2026 - 10:29 am

UPDATED: Media Folder Files Not Added v3.0

This application will list the file paths of the media files in your designated “Media” folder which are not associated with any tracks in the Music or TV app’s track library. Additionally, a different parent folder can be user-selected and its contents will be compared to the current library. Includes options to Filter within results, Move a selection of found files to a user-chosen folder, Search for related tracks in Music app, Add (or drag-and-drop) a selection of found files to Music o, move them to the Trash and Export a text file listing the file paths.

Also see Super Remove Dead Tracks and List MIAs.

Media Folder Files Not Added in action

Latest version:

  • UI and layout updates for macOS 26 and later
  • Removes support for TV app
  • Fixes table layout issue
  • Fixes minor issue with NAS locations

More information for Media Folder Files Not Added v3.0 and download link is here.

September 10 2026 - 10:28 am

UPDATED: Find Empty Media Folders v4.0

This applet will traverse the Media folder looking for and displaying any sub-folders that are either empty or that only contain unplayable items, such as text or image files.

Also see Media Folder Files Not Added.

Find Empty Media Folders in action

Latest version:

  • UI and layout updates for macOS 26 and later
  • Removes support for TV app
  • Maintenance

More information for Find Empty Media Folders v4.0 and download link is here.

September 10 2026 - 10:28 am

UPDATED: Merge-Delete Playlists v7.6

This applet will allow you to merge the track contents of two or more playlists to a new or existing playlist or delete any number of playlists at once, including Smart, Genius, and Playlist Folder playlists. The merge feature will prevent the same tracks that may appear in different source playlists from being duplicated and has an option to delete original playlists. The delete feature only deletes playlists; tracks, of course, remain in the library.

Merge-Delete Playlists in action

Latest version:

  • UI and layout updates for macOS 26 and later
  • Maintenance
  • Icon and docs update

More information for Merge-Delete Playlists v7.6 and download link is here.

September 10 2026 - 10:27 am

UPDATED: File Renamer v5.4

This applet will rename the files of the selected tracks (or the files of the tracks in the selected playlist) using a substitution pattern that you formulate from the tracks’ tag data. Optionally, export a copy of the files to a chosen location and rename the files in that location.

Works optimally for “in place” option with Music app’s “Keep Media folder organized” un-checked.

File Renamer in action

Latest version:

  • UI and layout adjustments
  • Larger pattern entry field
  • Zero-pads all single-digit track and disc numbers and counts
  • Better validation of pattern
  • Fixed further regression issues
  • Maintenance

More information for File Renamer v5.4 and download link is here.

Site contents © 2001 - 2026 (that's right: 2001) Doug Adams and weblished by Doug Adams. Contact support AT dougscripts DOT com. About.
All rights reserved. Privacy.
AppleScript, iTunes, iPod, iPad, and iPhone are registered trademarks of Apple Inc. This site has no direct affiliation with Apple, Inc.
The one who says "it cannot be done" should not be interrupting the one who is doing it.