dougscripts.com

Popular Now

Albums Amiss

downloaded 16m 45s ago

Albums Amiss v1.4

For Music Finds album tracks that are a few short or over an Album

downloaded 4h 2m 53s ago

New Shuffled Playlist v2.1

For Music Copy the selected playlist with tracks in shuffled play order

Who Da Album Artist

downloaded 4h 9m 37s ago

Who Da Album Artist v1.0

For Music Scans albums for missing or inconsistent album artist entries

Drop and Export Artwork

downloaded 4h 33m 32s ago

Drop and Export Artwork v3.0

For Music Export image metadata from drag-and-dropped audio files

Super Remove Dead Tracks

downloaded 4h 53m 35s ago

Super Remove Dead Tracks v6.4

For Music/TV Remove Music/TV tracks disassociated from files

downloaded 5h 4m 38s ago

Apply Embedded Artwork v2.1

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

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:

RSS ROOLZ! SUBSCRIBE!

July 14 2026 - 8:13 am

Busted in the Beta

Now that the macOS 27 Public Beta is available I feel like I can raise a little clamor about the Music app’s failing AppleScript delete command. It has been broken since the first Developer Beta. I hoped it would be restored for the Public Beta but it has not.

The delete command is a standard AppleScript command. It’s used in scripts for the Music app to automate track removal from playlists, removing tracks from the library, and deleting playlists. As you can imagine, it is a commonly used command in AppleScript Music workflows.

I don’t know if this is a permanent condition. I can’t imagine not being able to delete items—which is what you aren’t able to do under macOS 27 Beta with a small number of AppleScripts and applications from this site.

I never expect macOS beta software to be complete until the release candidate, so until then, as I annually warn, if you’ve installed macOS 27 Beta then don’t expect scripts to work 100%.

But it’d be good to get delete back soon.

July 13 2026 - 10:28 am

UPDATED: Quick Convert v5.8

Convert all or just the selected tracks of the selected Playlist using your choice of available encoders, restoring your Settings-set encoder afterwards.

Additionally, you can:

  • Choose to delete and/or Trash the original tracks and/or files
  • Copy all converted tracks to a playlist

Latest version:

  • Minor UI updates

More information for Quick Convert v5.8 and download link is here.

July 2 2026 - 10:14 am

NEW: Library XML Track Viewer v1.0

I guess every time I opened an exported Music (or iTunes) XML file in BBEdit I said to myself, "You know, it'd be easy to write an app that made lookin' at this thing easier." Then I'd forget about it. And then the next time, I'd say to myself, "You know, it'd be easy to write an app that made lookin' at this thing easier." And so on.

This sort of thing went on for about twenty-five years.

Well it stops today. Examine just the track entry content of any Library XML file exported from the Music app (or older iTunes) in a familiar list view. The list of items can be narrowed by entering text in the Filter field. Basic information from a selecton of items can be copied to the clipboard.

(For handling exported playlist XML files, see Playlist XML Viewer and Playlist XML Librarian.)

Latest version:

  • Initial release

More information for Library XML Track Viewer v1.0 and download link is here.

June 30 2026 - 10:39 am

UPDATED: List MIAs v6.6

Universal, for macOS 11 and later only. This applet checks your Media library for missing and presumed dead tracks—those tracks that have become disassociated from their file and which are listed with a "!"—and can delete them from the Music app or create a text file listing these tracks by last known File Path, Title, Artist and Album, which you can view using TextEdit.

Also see Super Remove Dead Tracks and Media Folder Files Not Added.

Latest version:

  • General maintenance, UI update
  • Fixes unusual issue with locating track for reveal

More information for List MIAs v6.6 and download link is here.

June 29 2026 - 2:54 pm

Saddest Deprecation Notice?

Definetly in the running. From macOS 27 Golden Gate Beta 2 Release Notes: "AirPort Utility is no longer included with new clean installations of macOS. However, if you update macOS when AirPort Utility is already installed, it remains on your system but functionality is not guaranteed starting in macOS 27."

You can just look at it. For the memories.

June 29 2026 - 12:27 pm

Annual Warning About Betas

The final realease of mac OS 27 Golden Gate won't be until the Fall. Until then, there will be several stages of beta releases. Unless you are a developer or need to know how future software will effect this, that or the other then you don't need to install the betas.

But I know you will. If so, do not depend on any current AppleScripts from this site working correctly in macOS 27 until the final release. (I can tell you that as of the date of this post, the AppleScript delete command does not work in the Music app. See what I'm saying?)

June 27 2026 - 10:35 am

The mute Command is Busted

Just noticed that setting the mute AppleScript command is busted in the Music app. I'm pretty sure it was the only way to actually mute the audio without just setting the volume to 0. I don't know how long it hasn't worked. The end of the mute command deserves a short moment of silence. Oh wait...

June 27 2026 - 9:38 am

UPDATED: Join Together v9.0.0

Join Together v9.0.0 has been posted. Join Together will create and export a single AAC or ALAC audio file from a list of audio tracks or files dragged to it from the Music app or the Finder.

More information and download is here.

June 27 2026 - 9:26 am

UPDATED: Needle Drop v7.8

Needle Drop plays each track in the selected Music 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.

Needle Drop will work best on tracks that have local files. Un-cached tracks streamed from the cloud may upset timing while audio is being downloaded.

Latest version:

  • Fixed issue causing crash on engage
  • Updates UI Scripting to correct an issue that may have prevented operation
  • General maintenance

More information for Needle Drop v7.8 and download link is here.

June 25 2026 - 10:33 am

UPDATED: Dupin v4.0.1

Dupin v4.0.1 is available. It fixes an issue that, depending on the circumstances, may have prevented completion of a Purge. If you saw an error message about "finalIntro" you know what I'm talking about. One other inside baseball note: Sparkle download-and-install will return for the next update. Download v4.0.1 from Dupin's page.

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.