Popular Now
downloaded 17m 56s ago
For iTunes Display, create text file listing info of dead tracks
downloaded 18m 26s ago
For Music Use tag data to formulate new file name for selected tracks' files
downloaded 29m 22s ago
For Music Convert selected tracks and replace them with converted versions
downloaded 1h 41m 20s ago
For Music Exports and then re-imports selected tracks' artwork
downloaded 2h 58m 2s ago
For Music Drag-and-drop to convert audio files with the Music app
downloaded 2h 58m 23s ago
For Music Edit artist/composer-related tags text for sorting purposes
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:
RSS ROOLZ! SUBSCRIBE!
UPDATED: File Renamer v5.3
Here's a utility that's been waiting for a few fixes and I finally got around to them.
File Renamer will rename the files of the selected tracks (or the files of the tracks in the selected playlist) using a substitution pattern that you formulate from the tracks' tag data. Optionally, export a copy of the files to a chosen location and rename the files in that location.
Works optimally for "in place" option with Music app's "Keep Media folder organized" un-checked.

Latest version:
- Fixed some regression issues impeding operation
- Minor UI adjustments
More information for File Renamer v5.3 and download link is here.
Busted in the Beta
Now that the macOS 27 Public Beta is available I feel like I can raise a little clamor about the Music app’s failing AppleScript delete command. It has been broken since the first Developer Beta. I hoped it would be restored for the Public Beta but it has not.
The delete command is a standard AppleScript command. It’s used in scripts for the Music app to automate track removal from playlists, removing tracks from the library, and deleting playlists. As you can imagine, it is a commonly used command in AppleScript Music workflows.
I don’t know if this is a permanent condition. I can’t imagine not being able to delete items—which is what you aren’t able to do under macOS 27 Beta with a small number of AppleScripts and applications from this site.
I never expect macOS beta software to be complete until the release candidate, so until then, as I annually warn, if you’ve installed macOS 27 Beta then don’t expect scripts to work 100%.
But it’d be good to get delete back soon.
UPDATED: Quick Convert v5.8
Convert all or just the selected tracks of the selected Playlist using your choice of available encoders, restoring your Settings-set encoder afterwards.
Additionally, you can:
- Choose to delete and/or Trash the original tracks and/or files
- Copy all converted tracks to a playlist

Latest version:
- Minor UI updates
More information for Quick Convert v5.8 and download link is here.
NEW: Library XML Track Viewer v1.0
I guess every time I opened an exported Music (or iTunes) XML file in BBEdit I said to myself, "You know, it'd be easy to write an app that made lookin' at this thing easier." Then I'd forget about it. And then the next time, I'd say to myself, "You know, it'd be easy to write an app that made lookin' at this thing easier." And so on.
This sort of thing went on for about twenty-five years.
Well it stops today. Examine just the track entry content of any Library XML file exported from the Music app (or older iTunes) in a familiar list view. The list of items can be narrowed by entering text in the Filter field. Basic information from a selecton of items can be copied to the clipboard.
(For handling exported playlist XML files, see Playlist XML Viewer and Playlist XML Librarian.)

Latest version:
- Initial release
More information for Library XML Track Viewer v1.0 and download link is here.
UPDATED: List MIAs v6.6
Universal, for macOS 11 and later only. This applet checks your Media 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 Music 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.

Latest version:
- General maintenance, UI update
- Fixes unusual issue with locating track for reveal
More information for List MIAs v6.6 and download link is here.
Saddest Deprecation Notice?
Definetly in the running. From macOS 27 Golden Gate Beta 2 Release Notes: "AirPort Utility is no longer included with new clean installations of macOS. However, if you update macOS when AirPort Utility is already installed, it remains on your system but functionality is not guaranteed starting in macOS 27."
You can just look at it. For the memories.
Annual Warning About Betas
The final realease of mac OS 27 Golden Gate won't be until the Fall. Until then, there will be several stages of beta releases. Unless you are a developer or need to know how future software will effect this, that or the other then you don't need to install the betas.
But I know you will. If so, do not depend on any current AppleScripts from this site working correctly in macOS 27 until the final release. (I can tell you that as of the date of this post, the AppleScript delete command does not work in the Music app. See what I'm saying?)
The mute Command is Busted
Just noticed that setting the mute AppleScript command is busted in the Music app. I'm pretty sure it was the only way to actually mute the audio without just setting the volume to 0. I don't know how long it hasn't worked. The end of the mute command deserves a short moment of silence. Oh wait...
UPDATED: Join Together v9.0.0
Join Together v9.0.0 has been posted. Join Together will create and export a single AAC or ALAC audio file from a list of audio tracks or files dragged to it from the Music app or the Finder.

More information and download is here.
UPDATED: Needle Drop v7.8
Needle Drop plays each track in the selected Music playlist for a set time interval optionally starting at a set number of seconds into each track, beginning with the selected track. Handy for 'scoping playlists.
Needle Drop will work best on tracks that have local files. Un-cached tracks streamed from the cloud may upset timing while audio is being downloaded.

Latest version:
- Fixed issue causing crash on engage
- Updates UI Scripting to correct an issue that may have prevented operation
- General maintenance
More information for Needle Drop v7.8 and download link is here.




