dougscripts.com

Popular Now

No Lyrics to Playlist

downloaded 14m 51s ago

No Lyrics to Playlist v3.3

For Music Gather tracks that do not have lyrics text

Track CPR

downloaded 20m 24s ago

Track CPR v6.0

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

downloaded 24m 44s ago

Apply Embedded Artwork v3.0

For Music Apply extant image metadata from tracks' files as track artwork

Increment Number Tags

downloaded 1h 45m 4s ago

Increment Number Tags v4.4

For Music Set choice of various number tags of selected tracks incrementally

Super Remove Dead Tracks

downloaded 2h 11m 9s ago

Super Remove Dead Tracks v7.0

For Music Remove Music tracks disassociated from files

Refresh Smart Playlists

downloaded 3h 53m 20s ago

Refresh Smart Playlists v4.5

For Music Compel batch of Smart Playlists to refresh track contents

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 14 2026 - 1:37 pm

NEW: Make New Playlist v1.0

A neat option for the Music app would be the ability to choose a default playlist view. Not exactly a new item on the Wish List. I’ve evolved a toleration of the default “as Playlist” view since I see it on the iPad so much. But I generally switch to the “as Songs” view while I’m building the playlist or working on the tracks in it and then switch back to “as Playlist” afterwards. Kinda like when you’re done working on your car, you close the hood. CHONK.

I’ve mentioned many times how I’ve assigned keyboard shortcuts to the “as Playlist” and “as Songs” menu items in the Music app’s View menu. That helps.

Lately I’ve been using a script that uses System Events accessibility scripting to hit “as Songs” and display the Column Browser after it creates a new playlist containing a batch of selected tracks. It can change the new playlist to any view. I’ve just set it to “as Songs” at my house.

Make New Playlist in action

I’m not a big fan of System Events scripting because it can be Kinda Klunky, requires serious permissions, and can need unpredictable future fixes if the app it targets updates its UI. But sometimes it’s the only way to bring truck home.

If you’re going to download and use Make New Playlist, you should know that on first launch it will ask you to give it accessibility permission in System Settings > Privacy & Security > Device Control and Data Access (formerly “Accessibility”). This is so the script can use System Events scripting to access the Music app’s View menu in order to pretend-click on its menu options. And to be able to pretend-click Command-B to show the Column Browser. I’ve put the step-by-step directions in the Read Me PDF. It’s pleading with you to read it.

I’ve given it the Shift-Command-N keyboard shortcut and it appears to over-ride same for the Music app’s “New Playlist with Selection” command. So you can imagine.

Latest version:

  • Initial release

More information for Make New Playlist v1.0 and download link is here.

October 14 2026 - 12:26 pm

UPDATED: Tracks Without Embedded Artwork v4.1

Yer Boy left some old code in a script and it probably made you sad. So I fixed it in this update to last week’s update.

This applet will examine the files of the tracks in the entire Music library or a selected Smart playlist for artwork metadata. Eligible audio tracks whose files are capable of embedding image data but do not contain artwork metadata will be copied to a new discrete Results playlist for further examination.

Tracks Without Embedded Artwork in action

Latest version:

  • Fixes error preventing registration. Apologies!
  • v4.0 (oct 7, 2026):
  • UI and layout updates for macOS 26 and later
  • Now allows scan of entire library or selected Smart playlist
  • Demo Mode completes scan but only reveals 10 tracks
  • Fixes issue with errant media library track entries

More information for Tracks Without Embedded Artwork v4.1 and download link is here.

October 10 2026 - 10:30 am

UPDATED: Coverscope v2.9

This Stay-Open applet will allow you to scroll and select tracks in the Music app to display both the selected track’s assigned track artwork and its local file’s metadata artwork (if any exists). The Track entry artwork well supports copy, paste and drags. Pasting or dragging image data immediately applies the image to the selected track’s artwork and attempts to embed it. Additional tools can Embed or Apply artwork between track and file.

Free to use in Demo Mode: While in Demo Mode, these functions will be enabled to use in any combination up to five times per launch:

  • Embed Track Artwork (to the file)
  • Apply Metadata Artwork (to the track entry)
  • Paste or Drag an image file to Apply and Embed
  • Copy Track Artwork to Clipboard
  • Save Track Artwork to File

Coverscope in action

Latest version:

  • UI and layout updates for macOS 26 and later
  • Maintenance

More information for Coverscope v2.9 and download link is here.

October 9 2026 - 1:23 pm

UPDATED: Show Me The Metadata v3.5

This script will display the audio metadata and the Spotlight metadata for the file of a selected track in the Music app or user-selected audio file, or a drag-and-dropped Music track or audio file. Includes additional features to display embedded artwork and activate the Finder’s Information Window for the file.

Show Me The Metadata in action

Latest version:

  • UI and layout updates for macOS 26 and later
  • Adds Reveal in Finder
  • Maintenance
  • Icon and docs update

More information for Show Me The Metadata v3.5 and download link is here.

October 8 2026 - 9:11 am

Is That Yer Mom’s MP3 Player?

My daughter, who works at one of the Boston area colleges, reports: “I thought you’d be interested to know that the hip thing kids are doing now is using MP3 players and it makes no sense to me. They will have their MP3 player on their desk next to their iPhone. I would love an explanation.”

She actually grew up during the First Wave of MP3 and iPod players, so this resurgence in popularity is retro and nostalgic. But I don’t think this trend is based on a love of old tech. I think this is a reaction to streaming services, which have ads, subscriptions, AI and tech-bros at the helm.

It also seems that the very thing I like about streaming services—virtually every record ever recorded at your fingertips—is too much music. Discovery is still a problem and “you may also like” recommendations are unhelpful and annoying. If you know what you like and only like what you know then filling an MP3 player with your faves just makes sense.

If you search at Amazon for MP3 players you’ll find a ton of them. Some of them are very inexpensive (well, under $100) and have pretty good features, like Bluetooth, WiFi, FM radio, voice recorder, photo album and memory card expansion. I myself bought a Sony Walkman digital player a couple of years ago for easy on-the-go usage.

So if you wanna be hip for a little while, go find that old Rio player and flaunt it.

October 7 2026 - 3:35 pm

UPDATED: Tracks Without Embedded Artwork v4.0

This applet will examine the files of the tracks in the entire Music library or a selected Smart playlist for artwork metadata. Eligible audio tracks whose files are capable of embedding image data but do not contain artwork metadata will be copied to a new discrete Results playlist for further examination.

Tracks Without Embedded Artwork in action

Latest version:

  • UI and layout updates for macOS 26 and later
  • Now allows scan of entire library or selected Smart playlist
  • Demo Mode completes scan but only reveals 10 tracks
  • Fixes issue with errant media library track entries

More information for Tracks Without Embedded Artwork v4.0 and download link is here.

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…)

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.