dougscripts.com

Popular Now

Duplicate Playlist Folder as Playlist

downloaded 59m 50s ago

Duplicate Playlist Folder as Playlist v4.0

For Music Duplicate tracks from all levels of a selected Playlist Folder to a new playlist

Search Wikipedia

downloaded 1h 12m 31s ago

Search Wikipedia v3.2

For Music Search Wikipedia using the Song Title, Album, Artist, or Composer of selected or playing track

New Last Played Date

downloaded 1h 12m 43s ago

New Last Played Date v6.3

For Music Batch set new Last Played/Last Skipped of selected tracks

downloaded 1h 14m 18s ago

New Play Count v5.0

For Music Set the Plays of selected tracks

List MIAs

downloaded 1h 14m 43s ago

List MIAs v7.0

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

Find Album Artwork with Google

downloaded 1h 14m 58s ago

Find Album Artwork with Google v4.2

For Music/TV Perform a Google image search for album 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:

Subscribe to the RSS feed. Looks best in NetNewsWire.

August 28 2026 - 9:57 am

Getting Ready for macOS 27

I’ve run all of the macOS 27 Developer Betas to date. And with the exception of some issues early on—now resolved—I’ve been pretty pleased with how Golden Gate has been working. I think I can safely say that scripts and apps that ran in macOS 26 Tahoe will work fine in the macOS 27 final release. I might even say run better, but that may just be my experience with an uncluttered clean install of the betas.

In case you didn’t know, macOS 26 Tahoe is the last Mac operating system that will run on Intel Macs; macOS 27 and later will require an Apple silicon processor Mac. If my math is right, these last Intel Macs will be about six or seven years old by now. Rosetta 2, which Apple makes available for Apple silicon Macs that need to run Intel-based apps, will also be phased out. If you are running an old-style, strictly Intel-based script you should check for the latest version. Modern versions of scripts have been Apple silicon compatible, aka “Universal”, for several years. Most have a minimum system version requirement of macOS 12. I’m likely to increase this to 14 or 15 in the coming year.

You may want to download the latest Doug’s Check For All Updates which is version 2.0. Previous versions will cease to work as of January 1, 2027.

As always, thanks for being a faithful supporter!

August 28 2026 - 9:53 am

UPDATED: Remove n Characters From Front or Back v8.0

This script will delete a specified number of characters from either the beginning or the ending of the Title, Album, Album Artist, Artist, Category, Comments, Composer, Grouping,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.

Remove n Characters From Front or Back in action

Latest version:

  • UI and layout updates
  • Removes support for TV app
  • Preview displays to-be-removed text in strikethrough
  • Icon and docs updat

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

August 28 2026 - 9:45 am

UPDATED: Search-Replace Tag Text v8.0

Performs a search-and-replace on the text in your choice of track tags in the Music or TV app (Title, Artist, Album Artist, Album, Composer, Comments, Genre, Grouping, Movement or Work) in the selected tracks or all the tracks in the selected Playlist. Features case sensitivity and whole word match options and “Test run” preview.

Search-Replace Tag Text in action

Latest version:

  • UI updates for macOS 26 and later
  • Removes support for TV app
  • Icon and docs update

More information for Search-Replace Tag Text v8.0 and download link is here.

August 28 2026 - 9:38 am

UPDATED: This Tag That Tag v7.0

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 Tag That Tag in action

Latest version:

  • UI updates for macOS 26 Tahoe and later
  • Drops support for TV app
  • Icon and docs updated

More information for This Tag That Tag v7.0 and download link is here.

August 28 2026 - 9:31 am

UPDATED: Append to Selected Tag v6.5

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

Append to Selected Tag in action

Latest version:

  • UI and layout updates
  • Removes support for TV app

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

August 28 2026 - 9:22 am

UPDATED: Insert Text into Tag v1.5

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

Insert Text into Tag in action

Latest version:

  • UI and layout updates
  • Adds confirmation panel
  • Additional keyboard shortcuts
  • Removes support for TV app
  • Icon and docs updates

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

August 28 2026 - 9:15 am

UPDATED: Remove Leading-Trailing Spaces v3.5

This script will remove any number of extra space characters at the beginning and ending of chosen tags (Title, Artist, Album Artist, Album, Composer, Comments, Genre, Grouping, Movement and Work) in the selected tracks.

Remove Leading-Trailing Spaces in action

Latest version:

  • UI and layout updates
  • Fixed progress miscount
  • Adds Comments tag
  • Removes support for TV app

More information for Remove Leading-Trailing Spaces v3.5 and download link is here.

August 22 2026 - 12:56 pm

UPDATED: Export Files From Playlists v3.6

This applet will export copies of the files of the tracks in one or more selected playlists to a single user-selected folder.

Also see M3Unify, an app that provides many more options for exporting/converting files from the Music app.

Export Files From Playlists in action

Latest version:

  • UI updates for macOS Tahoe and later
  • Updates Filter feature

More information for Export Files From Playlists v3.6 and download link is here.

August 16 2026 - 1:12 pm

UPDATED: New Last Played Date v6.3

Set Last Played/Last Skipped date of selected tracks to a new date, with option to increase or decrease Plays/Skips, or set to “never played” with no dates and no Plays/Skips.

Also see Add or Subtract Play Count.

Works best when Sync Library is disengaged due to a possible bug.

New Last Played Date in action

Latest version:

  • UI updates for macOS 26 and later
  • Removes disclosure/window resize

More information for New Last Played Date v6.3 and download link is here.

August 14 2026 - 11:27 am

UPDATED: Album Rating Reset v5.6

This script will allow you to batch set or clear the Album Rating and/or Album Favorite/Suggest Less for the albums of the selected tracks or the albums associated with the tracks in a selected playlist (note that only a single track from any album need be selected in order to change the album rating or favorited of the entire album). Handy for clearing batches of albums of their user-set album ratings, or re-rating batches of albums.

Album Rating Reset in action

Latest version:

  • UI updates
  • Fixes problem with Settings panel
  • Drops support for half-stars

More information for Album Rating Reset v5.6 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.