dougscripts.com

Popular Now

CD-Text to CD Info

downloaded 1m 29s ago

CD-Text to CD Info v6.4

For Music Apply selected CD's CD-Text to its disc and track tags

Search-Replace Tag Text

downloaded 53m 57s ago

Search-Replace Tag Text v7.4

For Music/TV Perform search-and-replace on text in your choice of tags

Super Remove Dead Tracks

downloaded 56m 12s ago

Super Remove Dead Tracks v6.4

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

Remove n Characters From Front or Back

downloaded 1h 35m 18s ago

Remove n Characters From Front or Back v7.3

For Music/TV Delete characters from the beginning or ending of selected tracks' name, artist, album, more

List MIAs

downloaded 1h 53m 40s ago

List MIAs v6.5

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

Insert Text into Tag

downloaded 2h 15m 17s ago

Insert Text into Tag v1.4

For Music/TV Insert same text at same position in chosen tag of selected tracks

Welcome!

Download hundreds (627 and counting) 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 follow me on Twitter @dougscripts, my YouTube channel, or subscribe to my RSS blog feed and 30 Most Recent Scripts RSS feed to stay notified about new and updated scripts and info.

Latest:

RSS ROOLZ! SUBSCRIBE!

October 13 2025 - 3:03 pm

UPDATED: Remove n Characters From Front or Back v7.3

This script will delete a specified number of characters from either the beginning or the ending of the Title, Album, Album Artist, Artist/Director, Category, Comments, Composer, Episode ID, Grouping, Show (or their "Sort" siblings), Movement or Work tag of each selected track. For example, delete the initial digits and the space from "01 First Track", "02 Second Track", and so on.

This app is free to try full-featured in Demo Mode, with the exception that only up to five tracks can be processed per launch. You can purchase a code for $1.99 which will remove this restriction. Launch the app and click "Register..." in the its File menu to make an in-app purchase.

Latest version:

  • Accommodations for macOS 26/Tahoe

More information for Remove n Characters From Front or Back v7.3 and download link is here.

October 13 2025 - 2:31 pm

UPDATED: Insert Text into Tag v1.4

This script will insert the same user-entered text at a specific position in the designated tag of each selected track.

Latest version:

  • Accommodations for macOS 26/Tahoe

More information for Insert Text into Tag v1.4 and download link is here.

October 11 2025 - 3:10 pm

UPDATED: Append to Selected Tag v6.4

Append the same user-entered text to the beginning or ending of the existing text in the chosen tag--Title, Artist (Director), Album Artist, Album, Composer, Comments, Genre, Grouping, Show (or their Sort siblings), Work or Movement--in each selected track.

Latest version:

  • Accommodations for macOS 26/Tahoe

More information for Append to Selected Tag v6.4 and download link is here.

October 11 2025 - 2:10 pm

UPDATED: Merge-Delete Playlists v7.5

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

This app is free to try full-featured in Demo Mode. In Demo Mode it will only process 5 playlists per launch. If you like it you can purchase a code for $1.99 which will unlock the Demo Mode restriction. Launch the app and click "Register..." in its File menu to make an in-app purchase.

Latest version:

  • Accommodations for macOS 26/Tahoe

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

October 10 2025 - 2:15 pm

UPDATED: Media Folder Files Not Added v2.6

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 or TV, move them to the Trash and Export a text file listing the file paths.

Also see Super Remove Dead Tracks and List MIAs.

This app is free to try in Demo Mode with some features restricted. If you like it you can purchase a code for $2.99 which will unlock the inhibited "Add", "Trash" and other features. Launch the app and click "Register..." in the its File menu to make an in-app purchase .

Latest version:

  • Accommodations for macOS 26/Tahoe

More information for Media Folder Files Not Added v2.6 and download link is here.

October 10 2025 - 12:01 pm

UPDATED: CD-Text to CD Info v6.4

This applet will attempt to extract the CD-Text information from the selected audio CD in the Music app and apply it to the CD's disc and track tags.

Some commercial CDs and commercial CD burning software (including the Music app) can use CD-Text as a method of including text data on an audio CD. This data can include Artist (Performer), Album, Composer, Track Title, and Genre info. See the Read Me for more information.

Latest version:

  • Accommodations for macOS 26/Tahoe

More information for CD-Text to CD Info v6.4 and download link is here.

October 10 2025 - 11:03 am

UPDATED: This Tag That Tag v6.4

This applet will assist with swapping, copying, and appending data between two user-chosen tags in selected tracks or tracks in the selected playlist:

Swap - swap data between tags, ex: ARTIST<->COMPOSER
Copy - copy data from one to another tag, ex: ARTIST->COMPOSER ARTIST
Append - append data from one tag to the end of another, ex: ARTIST->COMPOSER - ARTIST
Prepend - append data from one tag to the beginning of another, ex: ARTIST->ARTIST - COMPOSER

The latter three actions also provide an option to delete the info from the first tag after the copy. Read Me explains all.

This app is free to try full-featured in Demo Mode. In Demo Mode it will only process 12 tracks per launch. If you like it you can purchase a code for $1.99 which will unlock the 12-track restriction. Launch the app and click "Register..." in its File menu to make an in-app purchase.

Latest version:

  • Accommodations for macOS 26/Tahoe

More information for This Tag That Tag v6.4 and download link is here.

October 9 2025 - 3:27 pm

Bug or Feature? Non-Persistent Permission to Read the Media Library

If you've been following along, you will have noticed how Apple has, over the years, gotten stingier with which and how certain "protected resources" on your Mac can be accessed by third parties. One of these resources is your Media library. In order to access information about your Media library, a third party app has to declare its intentions to the user. This is a typical dialog you will see in such a situation:

Conventionally, this will be displayed as you launch the script app for the first time. Then the user's "Allow" decision will be remembered every time you launch it thereafter.

This is not happening in macOS 26/Tahoe. Every time you launch such a script you will see this dialog.

Not every script requires access to the Media library so this doesn't happen with every script. But it does with enough of the popular ones.

I'm not sure if this is the intended behavior. I filed a bug report.

October 9 2025 - 3:07 pm

UPDATED: List MIAs v6.5

This applet checks your Music or TV 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 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.

Free to use in Demo Mode: While in Demo Mode, dead tracks will be displayed and can be exported as a list to a text file. Delete from Music/TV and other features will be disabled.

To purchase a registration code and remove these restrictions, download and launch the app. Click "Register..." in its File menu and follow the prompts to purchase a code for $2.99. When your payment is processed, you will be emailed a registration code that will unlock the Demo Mode restrictions.

Latest version:

  • Accommodations for macOS 26/Tahoe

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

October 9 2025 - 1:44 pm

UPDATED: Super Remove Dead Tracks v6.4

Scans the Music or TV app for tracks whose files are inaccessible or no longer available (so-called "dead" tracks). Outputs a tab-delimited text log listing the tracks by Artist, Name, Album and last known file location. The registered version will delete the tracks.

Also see List MIAs and Media Folder Files Not Added.

Latest version:

  • Accommodations for macOS 26/Tahoe
  • Removed "Stop" feature due to an OS regression; may return in future

More information for Super Remove Dead Tracks v6.4 and download link is here.

Site contents © 2001 - 2025 (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.