dougscripts.com

Popular Now

Re-Locate Selected

downloaded 1h 45m 50s ago

Re-Locate Selected v3.7

Re-locate files of selected tracks to new folder, preserve track meta-data

Work and Movement Scripts

downloaded 1h 46m 42s ago

Work and Movement Scripts v2.0

Three scripts assist with editing Work and Movement tags

CD-Text to CD Info

downloaded 2h 4m 50s ago

CD-Text to CD Info v6.4

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

downloaded 2h 21m 10s ago

Restore Artwork from Album Folder v5.0

Restore each selected track's artwork from an image file stored in its Album folder

Scan For Double Entries

downloaded 2h 21m 38s ago

Scan For Double Entries v5.0

Locates sets of track entries pointing to the same file

Append to Selected Tag

downloaded 2h 39m 54s ago

Append to Selected Tag v6.5

Append user-entered text to beginning or ending of selected tag of each selected track

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:

Use the search box at the top of every page to try and find something specific. Or try the rand button.

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.

November 27 2026 - 1:28 pm

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

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:

  • Widens character counter field
  • v8.0 (august 26, 2026):
  • 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.1 and download link is here.

November 27 2026 - 12:08 pm

UPDATED: Clipboard as Artwork for Selection v3.0

This script will paste the image in the clipboard as album artwork to the selected tracks without having to open and close the tracks’ Info panel. Option-launch to by-pass the script’s display dialog and paste the image directly.

Works quite handily when assigned a keyboard shortcut.

Clipboard as Artwork for Selection in action

Latest version:

  • Updated as alert-style dialog
  • Adds always-on dark mode
  • Adds Option-launch to by-pass dialog

More information for Clipboard as Artwork for Selection v3.0 and download link is here.

November 20 2026 - 12:57 pm

Teenage Engineering EP/BC–1

Just ordered the Teenage Engineering EP/BC–1 professional CD player.

Can’t have too many CD players these days, amirite?

November 18 2026 - 4:22 pm

UPDATED: Re-Locate Selected v3.7

This applet will re-locate the files of the selected tracks from their current location to a single user-chosen folder. The Music app will be updated with each track’s new location and all of each track’s meta-data will be preserved. Optionally leave a copy of each file in its original location (albeit disassociated from any Music app track entries).

Re-Locate Selected in action

Latest version:

  • Fixes bug introduced in v3.6 that caused the applet to stall at launch
  • v3.6 (nov 5, 2026):
  • UI and layout adjustments for macOS 27

More information for Re-Locate Selected v3.7 and download link is here.

November 18 2026 - 11:51 am

UPDATED: Edit Category Tag v2.0

The Category tag is a holdover from when iTunes managed podcasts. In the Music app, it is still supported but is only visible and accessible as a column in the “Songs” section of the Library or when a playlist is in “as Songs” View. The Category tag is also supported in Smart playlist rules. This simple script will enable you to apply text to the Category tag of one or more selected tracks. Works great with a keyboard shortcut.

Also see Multi-Item Edit and Sundry Info To Comments, both of which offer Category tag support.

Edit Category Tag in action

Latest version:

  • Rebuilt as an alert-style dialog

More information for Edit Category Tag v2.0 and download link is here.

November 16 2026 - 3:46 pm

UPDATED: Convert and Replace v5.0

This applet will convert the files of the selected tracks using an encoder chosen on-the-fly (each encoder’s current Preferences-set options will be in effect) and replace each tracks’ file with the converted version. The original pre-conversion file will be deleted.

Not for use with Sync Library or downloaded Apple Music files (“movpkg” files); files in the cloud and other devices cannot be converted.

Convert and Replace in action

Latest version:

  • UI, layout and code updates for macOS 26 and later
  • Fixes issue re-setting default encoder
  • Fixes issue that triggered Music’s delete file alert
  • Icon and docs update

More information for Convert and Replace v5.0 and download link is here.

November 9 2026 - 12:39 pm

UPDATED: Who Da Album Artist v1.1

This applet will scan your Music library and if it finds any album whose tracks’ Album Artist tags are missing or inconsistent (amounting to more than one per album, for example), will give you the opportunity to enter the appropriate Album Artist and Sort Album Artist tags.

Who Da Album Artist in action

Latest version:

  • UI and layout adjustments
  • Shows album’s track count
  • Multiple track artists will be listed in a scrollable list
  • Minor maintenance

More information for Who Da Album Artist v1.1 and download link is here.

November 5 2026 - 9:40 am

UPDATED: Show Me the Track Info v1.2

This launch-and-leave-open applet will continuously display track info from the playing or selected track in a floating window which can be configured to show the information in a user-preferred order. Eight sections within the window can be drag-arranged into their order of importance. The window can then be re-sized to display only as much of the information as is necessary. Handy for quickly surveying tracks without having to click-click-click for the Music app’s “Info Window”.

Show Me the Track Info in action

The blue brackets are only meant to illustratively demarcate the draggable sections. They do not appear in the actual UI of the script.

Latest version:

  • Can toggle section guides visible/hidden
  • Fixed text field resizing quirkiness
  • Minor UI fixes and adjustments

More information for Show Me the Track Info v1.2 and download link is here.

November 3 2026 - 7:08 pm

NEW: Compare Track IDs v1.0

Normally, there’s no reason for Regular People to see a track’s persistent ID. That’s why you don’t see them anywhere in the Music app interface. But every track’s got one, like a hexadecimal belly button. And like a belly button, every one is unique and different. (I think belly buttons are all different. Aren’t they? Anyway, persistent IDs are different for each track and that’s my point.)

Now: The Double Entries Conundrum, in case you don’t know, is a situation in the Music app whereby a duplicate of an existing track entry has been errantly created which results in the file having two track entries. Not much of a good thing.

But you don’t want to confuse Double Entries with two track occurrences (as when a single track is added twice to a playlist). Or with two similar-yet-distinct files having separate entries (as you might have with studio and live/greatest hits versions of a song). If you could only see those persistent IDs! Boy, would that help!

The script Compare Track IDs will display the name, persistent ID, database ID, date added and file path of one or two selected tracks.

Compare Track IDs in action

In the screenshot, you can see that, for the most part, the two tracks are different but that their files are the same. There’s no mistaking that they are Double Entries. (I’d love to know what happened on that day in 2021 that caused Music to duplicate some of my Chicago tracks.)

So by comparing the IDs, the date added and the file path, you should be able to figure out what’s what and what ain’t.

Or maybe you just want to look at track persistent IDs. That’s cool, too.

Also see Scan For Double Entries.

Latest version:

  • Initial release

More information for Compare Track IDs v1.0 and download link is here.

November 3 2026 - 1:24 pm

NEW: Copy Move Remove v1.0

My current hyperactivity episode focused on Music’s “song list checkboxes” has not receded.

Copy Move Remove is a launch-and-leave-open utility that will copy, move or remove all checkmarked, all un-checkmarked or the selected tracks from the selected Music playlist on demand.

Copy Move Remove in action

Latest version:

  • Initial release

More information for Copy Move Remove v1.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.