dougscripts.com

Popular Now

Flush Apple Music Cache Files

downloaded 6m 31s ago

Flush Apple Music Cache Files v1.0

For iTunes Delete files downloaded and cached by Apple Music

downloaded 8m 0s ago

Apply Embedded Artwork v1.0

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

Tracks Without Embedded Artwork

downloaded 35m 43s ago

Tracks Without Embedded Artwork v2.1

For Music Gather audio tracks whose files contain no artwork metadata

Save Album Art to Album Folder

downloaded 40m 5s ago

Save Album Art to Album Folder v6.5

For Music Export artwork of selected tracks to parent or specified folder

downloaded 40m 12s ago

Restore Artwork from Album Folder v4.1

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

downloaded 49m 50s ago

Re-Embed Artwork v2.7

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

Welcome!

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

June 5 2020 - 11:14 am

NEW: Swap Title and Artist v2.0

This script swaps the text in the Title and Artist tags of all--or just the selected--tracks of the selected playlist.

For a more robust tag-swapping utility see This Tag, That Tag.

Latest version:

  • Accommodations for macOS 10.15 Catalina

More information for Swap Title and Artist v2.0 and download link is here.

May 27 2020 - 1:23 pm

NEW: Reverse Artist Last, First v1.0

This script will juxtapose the text on either side of ", " in the selected tracks' Artist (and, optionally, Album Artist) tags to restore formats, e.g:

"Ellington, Duke" becomes "Duke Ellington"
"Russell, Pee Wee" becomes "Pee Wee Russell"
"Johnson, James P." becomes "James P. Johnson"
"King, B.B." becomes "B.B. King"

Also see Artist to Last-First.

Latest version:

  • Initial release

More information for Reverse Artist Last, First v1.0 and download link is here.

May 24 2020 - 5:43 pm

NEW: Export Files From Playlists v3.0

For macOS 10.15 and later only. 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.

Free to try in Demo Mode: While in Demo Mode only 20 files will be processed per launch. If you like it you can purchase a code for $1.99 which will remove the 20-file restriction.

Latest version:

  • Accommodations for macOS 10.15 Catalina
  • Performance and security enhancements

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

May 23 2020 - 11:57 am

UPDATED: Track Down Purchases v4.1

For macOS 10.15 Catalina and later. 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.

To purchase a registration code, download and launch the app. Click "Register..." in its File menu and follow the prompts to purchase a code for $1.99. When your payment is processed, you will receive a registration code that will unlock the Demo Mode restriction.

Latest version:

  • Maintenance update

More information for Track Down Purchases v4.1 and download link is here.

May 23 2020 - 9:43 am

UPDATED: Find Empty Media Folders v2.2

For macOS 10.15 and later. This applet will traverse the Media folder looking for and displaying any sub-folders that are either empty or that do not contain Media-apps-playable media, such as text or image files.

Free to use in Demo Mode: While in Demo Mode, several convenient features will be disabled, including

  • Show Finder Information Window
  • Reveal in Finder
  • Send to Trash
  • Select all Empty/non-Empty
  • Scan other user-selected folder

Also see Media Folder Files Not Added.

To purchase a registration code, download and launch the app. Click "Register..." in its File menu and follow the prompts to purchase a code for $2.99. When your payment is processed, you will be emailed a registration code that will unlock the Demo Mode restrictions.

Latest version:

  • Maintenance update

More information for Find Empty Media Folders v2.2 and download link is here.

May 21 2020 - 2:58 pm

UPDATED: Compare Two Playlists v4.5

For macOS 10.15 Catalina and later only. Quickly compares the contents of any two playlists and displays the tracks that are common to both or the tracks in one playlist not contained by the other. Has tools to copy or move tracks from one playlist to another or delete common tracks from one or the other playlist. Can optionally create a text file report of these comparisons.

Free to try in Demo Mode: While in Demo Mode, several features will be disabled. An in-app purchase of a registration code will unlock the disabled features.

To purchase a registration code, download and launch the app. Click "Register..." in its File menu and follow the prompts to purchase a code for $1.99. When your payment is processed, you will receive a registration code that will unlock the Demo Mode restrictions.

Latest version:

  • Maintenance update

More information for Compare Two Playlists v4.5 and download link is here.

May 18 2020 - 10:53 am

UPDATED: List MIAs v5.6

For macOS 10.15 Catalina and later only. This applet checks your Music or TV 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 app or create a text file listing these tracks by last known File Path, Song Name, Artist and Album, which you can view using TextEdit.

Also see Super Remove Dead Tracks and Media Folder Files Not Added.

Free to use in Demo Mode: While in Demo Mode, dead tracks will be displayed and can be exported as a list to a text file. Delete from Music/TV and other features will be disabled.

To purchase a registration code and remove these restrictions, download and launch the app. Click "Register..." in its File menu and follow the prompts to purchase a code for $2.99. When your payment is processed, you will be emailed a registration code that will unlock the Demo Mode restrictions.

Latest version:

  • Maintenance update
  • Fixed regression whereby table wouldn't resize correctly

More information for List MIAs v5.6 and download link is here.

May 18 2020 - 10:50 am

UPDATED: Super Remove Dead Tracks v5.4

For macOS 10.15 Catalina or later. Scans the Music or TV app for tracks whose files are inaccessible or no longer available (so-called "dead" tracks). Outputs a tab-delimited text log listing the tracks by Artist, Name, Album and last known file location. The registered version will delete the tracks.

Also see List MIAs and Music Folder Files Not Added.

Latest version:

  • Maintenance update

More information for Super Remove Dead Tracks v5.4 and download link is here.

May 18 2020 - 10:47 am

UPDATED: Track CPR v3.1

For macOS 10.15 and later only. This script will assist with re-associating replacement files with dead tracks. The Music app can perform this task, too, but only one track at a time.

The process takes 3 steps:

  • The script finds and lists the "dead" tracks in the Music library
  • User drag-and-drops potential replacement files to the window; a viable replacement file is one whose name, album and artist metadata matches a dead track's
  • Re-associate viable replacement files with their matched track entries

The Read Me contains additional important details and cautions.

Latest version:

  • Maintenance update

More information for Track CPR v3.1 and download link is here.

May 17 2020 - 1:05 pm

UPDATED: CD Text to CD Info v5.2

For macOS 10.15 Catalina and later only. This applet will attempt to extract the CD Text information from the selected audio CD in the Music app and apply it to the CD's disc and track tags.

Some commercial CDs and commercial CD burning software (including the Music app) can use CD Text as a method of including text data on an audio CD. This data can include Artist (Performer), Album, Composer, Track Title, and Genre info. See the Read Me for more information.

Latest version:

  • Maintenance release
  • Minor UI tweaks and performance enhancements

More information for CD Text to CD Info v5.2 and download link is here.

Site contents © 2001 - 2020 (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 interrupt the one doing it.