dougscripts.com

Popular Now

downloaded 3m 44s ago

Re-Embed Artwork v2.7

For iTunes Exports and then re-imports selected tracks' artwork

Scan For Double Entries

downloaded 2h 9m 44s ago

Scan For Double Entries v2.4

For iTunes Locates pairs of track entries pointing to the same file

Delete Lyrics

downloaded 3h 23m 26s ago

Delete Lyrics v3.2

For Music Delete lyrics from the selected tracks

Coverscope

downloaded 3h 38m 18s ago

Coverscope v2.7

For Music View/edit assigned and embeded artwork for selected track and its file

downloaded 3h 45m 5s ago

Apply Embedded Artwork v2.1

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

Search-Replace Tag Text

downloaded 3h 58m 5s ago

Search-Replace Tag Text v7.4

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

Welcome!

Download hundreds (628 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 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!

November 9 2025 - 5:04 pm

UPDATED: De-Genre v6.0

This script re-assigns the tracks of selected Genres to another Genre, ostensibly so that the original--and consequently any un-assigned-Genres--disappear from the Music app's Genre pop-up list. Of course, it can also be used simply to batch-edit Genres without having to assemble the tracks first.

As you may know, you can make superfluous Custom Genres vanish from the Genre pop-up list simply by eliminating a reference to them in your tracks; when no tracks are assigned to a particular Genre, that Genre will be dropped. (Note however that Music's original Genre names cannot be removed this way; only those accumulated from other sources or created by you.)

Latest version:

  • Accommodations for macOS 26/Tahoe
  • Adds sorting options
  • Fixes toggle-size issue

More information for De-Genre v6.0 and download link is here.

November 7 2025 - 12:39 pm

UPDATED: Make Tags All Caps v2.6

This script will change the text in your choice of the Title, Artist/Director, Show, Album, Album Artist, Genre, Comments, Composer and/or Lyrics tags of the selected tracks in the Music or TV app to ALL CAPS.

"I got a request from a DJ'ing Correspondent who had been manually changing some of his tags to all caps so they'd be easier to read on the decks under dim dance floor lights...." (more)

Latest version:

  • Adds Album Artist and Custom Lyrics to choices
  • v2.5 Oct. 22, 2025
  • Accommodations for macOS 26/Tahoe and general maintenance

More information for Make Tags All Caps v2.6 and download link is here.

November 1 2025 - 2:21 pm

Keyboard Shortcuts in Tahoe

After installing macOS 26, I couldn't figure out how to assign keyboard shortcuts to AppleScripts in the Music app's Scripts menu. Simply entering the script's name in the System Settings > Keyboard > Keyboard Shortcuts panel along with a key combination and attatching it to "Music" wasn't doing anything.

After a bunch of Dumb Experiments, which is what One Does with AppleScript, I figured it out and here's how to assign keyboard shortcuts to your scripts in the Music app in macOS 26:

Open System Settings and choose "Keyboard" in the left column. In the "Keyboard" panel, press the "Keyboard Shortcuts..." button. In the left column of the panel that opens, click "App Shortcuts". Press the "+" button to add a new shortcut to a menu item.

Set Application to "All Applications" (not "Music"). For the Menu title, enter "Scripts->" followed by the exact name of the script as it appears in the Music app's Scripts menu. Then enter your keyboard combination.

Click "Done" and back out of all that System Settings stuff. If you don't see the shortcut you entered displayed next to the name of the script in the Scripts menu, try restarting the Music app. If you still don't see it, perhaps the shortcut you entered is used elsewhere and can't be over-ridden. So try again with a different shortcut.

October 29 2025 - 1:07 pm

UPDATED: Artwork as Album Folder Icon v3.3

This script will use the will use the assigned artwork from the selected tracks as the icon for the folder containing each track's corresponding file in the Finder--presumably, this is the file's "Album" folder.

Latest version:

  • Accommodations for macOS 26/Tahoe
  • Removed "droplet" capability
  • Revamped UI

More information for Artwork as Album Folder Icon v3.3 and download link is here.

October 27 2025 - 6:48 pm

UPDATED: Display File Path v3.3

This script will float alongside the Music app and continuously monitor it for a single track to be selected and display that track's file path (if it exists); or the script can be set to likewise display the file path of each playing track. Includes Show in Finder and Copy Path to Clipboard options.

Latest version:

  • Fixed Copy to clipboard issue
  • Added contextual menu to window
  • Accommodations for macOS 26/Tahoe

More information for Display File Path v3.3 and download link is here.

October 27 2025 - 2:02 pm

UPDATED: Save Album Art to Album Folder v7.5

This script will export the artwork of each of the selected tracks (or the tracks in a selected playlist) as an image file to the folder which contains each selected track's file--presumably each track's Album folder--or to a single user-selected folder. If multiple album tracks are selected, the script will make sure only one artwork file per Album is exported.

Also see Save Album Art as folder.jpg.

Latest version:

  • Accommodations for macOS 26/Tahoe

More information for Save Album Art to Album Folder v7.5 and download link is here.

October 27 2025 - 2:01 pm

UPDATED: Save Album Art as folder.jpg v5.4

This script will export the artwork of the selected tracks or tracks in the selected playlist as a JPEG image file named folder.jpg to the folder which contains each selected track's file--presumably the track's Album folder. Many third-party music players and systems may look for a "folder.jpg" here to use as display artwork. If multiple album tracks are selected, the script will make sure only one image file per Album is exported.

Also see Save Album Art to Album Folder.

Latest version:

  • Accommodations for macOS 26/Tahoe

More information for Save Album Art as folder.jpg v5.4 and download link is here.

October 27 2025 - 12:57 pm

NEW: Save Album Art to Photos v1.0

Years ago it seemed to make sense to have a script that exported track artwork to iPhoto—as it was known at the time. So I made such a thing. But sometime around iPhoto 5 it got too cumbersome to deal with and maintain, and so I abandoned it.

I revisited it recently and doesn't seem so cumbersome now. Huh.

Save Album Art to Photos will export the artwork of the selected Music app tracks as image files to the Photos app. Includes options for changing image format, chosing a destination Photos album, custom keyword creation and more.

Latest version:

  • Initial release

More information for Save Album Art to Photos v1.0 and download link is here.

October 22 2025 - 7:40 pm

UPDATED: Make Tags All Caps v2.5

This script will change the text in your choice of the Title, Artist/Director, Show, Album, Comments, Composer and/or Genre tags of the selected tracks in the Music or TV app to ALL CAPS.

"I got a request from a DJ'ing Correspondent who had been manually changing some of his tags to all caps so they'd be easier to read on the decks under dim dance floor lights. (Are they still called "decks"?)..." (more)

Latest version:

  • Accommodations for macOS 26/Tahoe and general maintenance

More information for Make Tags All Caps v2.5 and download link is here.

October 22 2025 - 6:26 pm

UPDATED: Delete Lyrics v3.2

This script will delete the Custom Lyrics—i.e., lyrics text entered by the user—from the selected tracks. Assign it a keyboard shortcut.

Does not affect Lyrics provided by Apple Music; this data is inaccessible.

Latest version:

  • Accommodations for macOS 26/Tahoe
  • Adds stays-open-to-select-again feature

More information for Delete Lyrics v3.2 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.