dougscripts.com

Popular Now

Is Artwork Embedded

downloaded 4m 32s ago

Is Artwork Embedded v2.1

For Music Detects if a track's file's metadata contain image information

List MIAs

downloaded 15m 57s ago

List MIAs v6.6

For Music/TV Display, delete, create text file listing info of dead tracks

Super Remove Dead Tracks

downloaded 22m 38s ago

Super Remove Dead Tracks v6.4

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

Library XML Track Viewer

downloaded 1h 3m 4s ago

Library XML Track Viewer v1.0

For Music View any Library XML file in a familiar list view

Super Remove Dead Tracks

downloaded 2h 22m 44s ago

Super Remove Dead Tracks v4.10

For iTunes Remove iTunes tracks disassociated from files

Media Folder Files Not Added

downloaded 2h 29m 28s ago

Media Folder Files Not Added v2.7

For Music/TV Displays files in the Media folder not in Music track library

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.

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

June 13 2026 - 5:51 pm

Another Thing You Thought Was OK to Do

Want to know a thing that can severely mess up your music library? I know you do. This has never happened to me because, well, because....But if you really want to mess things up, use emoji in your songs' tags and/or playlist names. It'll screw things up like you read about. Good luck! Or, bad luck! as the case may be.

Thought I'd pass that along.

June 3 2026 - 1:02 pm

UPDATED: Playlist XML Librarian v2.0

I've suspected for years that there would come a time when I'd want one of my AppleScript dinguses to grow up into an Xcode app. You can only do so much with a single thread. I've been using Playlist XML Librarian pretty regularly and the AppleScript incarnation just wasn't able to gimme what I need.

Playlist XML Librarian v2.0 will list the exported Playlist XML files collected in a specified folder with options to view, edit and send (import) them to the Music app. Makes it easy to maintain an organized stockpile of exported Playlist XMLs to reduce the number of onboard Music playlists.

Also see Playlist XML Viewer which can display and play a single selected local Playlist XML file drag-and-dropped or chosen.

Latest version:

  • Outgrew AppleScript, is now a full-fledged Xcode app
  • Overall speed boost
  • Checks each XML file for appearance in the Music app as status
  • Sort playlist XML list by name, date, track count, playlist kind and status
  • Additional Settings to configure status indexing and display
  • Description overspill appears in popover
  • Toggle playlist info visible

More information for Playlist XML Librarian v2.0 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.