Popular Now
downloaded 1h 17m 23s ago
For Music Export image metadata from drag-and-dropped audio files
downloaded 1h 23m 8s ago
For Music View/edit assigned and embeded artwork for selected track and its file
downloaded 2h 37m 26s ago
Remove n Characters From Front or Back v5.10
For iTunes Delete characters from the beginning or ending of selected tracks' name, artist, album, comments, composer, or show tags
downloaded 2h 42m 57s 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
downloaded 2h 51m 58s ago
For Music Sort purchased tracks into discrete playlists by name or Apple ID
downloaded 6h 10m 16s ago
Flush Apple Music Cache Files v1.0
For iTunes Delete files downloaded and cached by Apple Music
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:
- Managing Tracks
- Managing Track Info
- Managing Artwork
- Managing Playlists
- Controlling iTunes
- Exporting Info
- Managing Files
- Networking
- Internet
- iPod (iPhone/iPad)
- Miscellaneous
- With Other Apps
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!
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.
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.
UPDATED: Delete Empty Playlists v5.5
This script will list the empty user-created playlists in the Music app and can delete all or just a selection of them.

Latest version:
- Accommodations for macOS 26/Tahoe
More information for Delete Empty Playlists v5.5 and download link is here.
What's Up with macOS 26 Tahoe and Music
For reasons unknown but guessable, it really doesn't appear like macOS 26 was ready for Prime Time. Nor many of its components. Including the Music and TV apps. And their AppleScripting capabilities.
But I've noticed that things are getting better as the macOS 26.1 Betas are released.
Several Correspondents have contacted me regarding problems with the reveal command. It is currently broken. The reveal command is used in an AppleScript Music script to select and highlight a track or a playlist. This borks, as we say, the features of several scripts.
However, in the latest macOS 26.1 Beta 4, reveal track works again but not reveal playlist. So...good-ish news?
Somewhat related—I think—is that set view of front browser window to playlist "Brit Blues" to select and highlight a playlist doesn't work either. But you can get view of front browser window.
The inconsistency suggests to me that "they just haven't gotten around to everything yet".
On another note, Regular Visitors may notice that I am updating many of the scripts. Believe it or not, its mostly UI stuff; windows in macOS 26 use larger corner radiuses which sort of squeezes the available real estate. Thus, stuff has to be re-aligned and so on. Otherwise my symmetry OCD will kill me.
UPDATED: Reset Tracks v1.2
The Music.app has a "Reset" button in the Details panel of each track's Get Info window which will re-initialize some track properties such as Plays and Skips. This script allows the user to choose which of several additional Music.app tags to reset to initialized states, which can be selectively more or less thorough than the Music.app's Reset action. Also see the slightly more aggressive Reset Plays.
Sync library users should note Apple's "Bug-or-Feature" whereby changes to these tags don't always proliferate correctly, if at all.

Latest version:
- Accommodations for macOS 26/Tahoe
- Updated nomenclature
More information for Reset Tracks v1.2 and download link is here.
UPDATED: Scan For Double Entries v4.3
This applet will scan your Music library for pairs of track entries that--very strangely--point to the same file and then copy those tracks to a discrete playlist for further examination; presumably you'll want to remove one of the faux pair tracks without Trashing the single associated file.
More about this issue is here.

Latest version:
- Accommodations for macOS 26/Tahoe
More information for Scan For Double Entries v4.3 and download link is here.
UPDATED: Remove Leading-Trailing Spaces v3.4
This script will remove any number of extra space characters at the beginning and ending of chosen tags (Title, Artist/Director, Album Artist, Album, Composer, Genre, Grouping, Movement, Work and Show) in the selected tracks.

Latest version:
- Accommodations for macOS 26/Tahoe
More information for Remove Leading-Trailing Spaces v3.4 and download link is here.
UPDATED: Not In Any Playlist v4.2
This applet will scan the Music app for tracks that are not assigned to any user-created playlists and display them. Once assembed, selected tracks in the list can be assigned to a user-chosen playlist or exported as a text file.

Latest version:
- Accommodations for macOS 26/Tahoe
More information for Not In Any Playlist v4.2 and download link is here.
UPDATED: Track Down Purchases v5.3
This applet can examine the Music library and sort audio tracks purchased from iTunes into discrete playlists by either the purchaser's name or Apple ID (eg: "Purchased by Jane Smith" or "Purchased by janesmith@email.com") which in turn will be placed in a "Purchaser Playlists" playlist folder.
Free to try in Demo Mode: While in Demo Mode, the number of tracks associated with each Purchaser will be reported but sorting tracks into playlists is disabled. An in-app purchase of a registration code will enable playlist creation.

Latest version:
- Accommodations for macOS 26/Tahoe
More information for Track Down Purchases v5.3 and download link is here.
UPDATED: Album Rating Reset v5.5
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.

Latest version:
- Accommodations for macOS 26/Tahoe
- "Stop" feature removed due to OS regression; it may re-appear in future
More information for Album Rating Reset v5.5 and download link is here.





