dougscripts.com

Welcome!

Download hundreds (456 and counting) of AppleScripts for Apple's iTunes that will help make managing your digital music collection easier and more fun!

Popular Now

downloaded 10m 23s ago

Find Truncated Tracks v2.0

Assists with finding truncated iTunes Match tracks

List MIAs

downloaded 10m 35s ago

List MIAs v4.0

Display, create text file listing info of dead tracks

Music Folder Files Not Added

downloaded 13m 3s ago

Music Folder Files Not Added v4.4

Displays files in iTunes Media folder not in iTunes track library

Scan For Double Entries

downloaded 13m 7s ago

Scan For Double Entries v2.0

Locates pairs of track entries pointing to the same file

This Tag That Tag

downloaded 13m 44s ago

This Tag That Tag v4.3

Applet assists with swapping, copying, appending data between track tags

Search-Replace Tag Text

downloaded 21m 12s ago

Search-Replace Tag Text v4.1

Perform search-and-replace on text in your choice of tags

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 Mac OS and many popular applications can be automated using AppleScript scripts. Scripts written for iTunes can manage files and track information, create playlists, interact with other applications, perform innovative tasks, and handle many kinds of chores 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 the Download/Installation FAQ & Video.

Check back often or subscribe to my Twitter feed @dougscripts, my RSS blog feed and 30 Most Recent Scripts RSS to stay notified about new and updated scripts and info.

Latest:

May 29 2015 - 6:38 am

Script of the Day: Size of Artwork

Size of Artwork will display the size (width x height) of the artwork of the single selected track.

Size of Artwork

This script works great when assigned a shortcut.

More info and download is on this page.

Previous Scripts of the Day. Subscribe to my RSS feed or follow @dougscripts on Twitter to get daily “Script of the Day” notifications.

May 28 2015 - 6:39 am

Script of the Day: Remove Leading-Trailing Spaces

Remove Leading-Trailing Spaces will remove any number of extra space characters at the beginning and ending of chosen tags (Name, Artist, Album Artist, Album, Composer, Genre, Grouping and Show) in the selected tracks.

Remove Leading-Trailing Spaces

More info and download is on this page.

Previous Scripts of the Day. Subscribe to my RSS feed or follow @dougscripts on Twitter to get daily “Script of the Day” notifications.

May 27 2015 - 8:23 am

NEW: Make Playlists By Years

Make Playlists By Years will create a new music track playlist for every year (or range of years) based on the Year tags of tracks in the Music Library. Optionally, Year playlists can be sorted into Playlist Folders by decade or filtered by a single Genre. (Accurate tagging is a must. Tracks with empty Year tags are ignored.)

In this screenshot, I’ve created playlists of the years 1970-2015 for the tracks in the “Pop” Genre and moved them to corresponding Playlist Folders named by decade:

Make Playlists By Years

All of the created playlists will be placed into a “Playlists By Years” Playlist Folder. The “Rock” playlists were created previously.

It can take a few moments for larger playlists to be assembled (200+ tracks). But, depending on the number of playlists it needs to create, the whole operation can be pretty brisk.

You’ll notice that the playlists the applet creates are named with a final “.” (dot). This is in order to distinguish them from any other playlists that are similarly named. See, the applet may re-create those playlists on subsequent runs and if it needs to create, for example, a new “Rock 1977.” playlist it will delete every playlist with that name (otherwise, I’d have a dozen “Rock 1977.” playlists in no time). So the distinguishing dot is just to make them somewhat different from the obvious.

Of course, if you want to preserve the playlists it creates, just duplicate and/or rename them.

More information and download is on this page.

(Be sure to see Playlist Manager which has batch-delete and batch-rename playlists functions; and Rescue Playlists from Folder and Move Playlists to Folder which remove/move playlists from/to Playlist Folders.)

May 27 2015 - 7:23 am

Script of the Day: PDF Adder

PDF Adder is a collection of two scripts that each assist with adding PDF files to iTunes as “digital booklet” PDF tracks. Each provides a method for easily supplying Author (artist), Album, Category (genre), Year, Rating and Description tag data which is then applied to the newly-added PDF track entry:

  • Add as PDF to iTunes is a PDF Service workflow that, when installed, will be available in the PDF pop-up menu of the Print Dialog. It allows you to save the current document as a PDF file (from any application that uses the Print Dialog) and add it to iTunes.
  • PDF Adder is an applet/droplet that will let you choose or drag-and-drop an existing PDF file and add it to iTunes. It can be installed in iTunes’ Scripts folder for easy access from iTunes Script menu.

PDF Adder

Here are some suggestions for your own “digital booklets”:

  • Album lyrics/liner notes
  • Music production notes
  • Manuals
  • Receipts/order confirmations
  • DJ set lists
  • Podcast addenda
  • Audiobook chapter synopses
  • Lecture notes
  • Sound effects indexes

Anything you can print, you can make into a PDF…and any PDF can be added to iTunes.

More info and download is on this page.

Previous Scripts of the Day. Subscribe to my RSS feed or follow @dougscripts on Twitter to get daily “Script of the Day” notifications.

May 26 2015 - 7:19 am

Script of the Day: Duplicate Playlist Folder as Playlist

Duplicate Playlist Folder as Playlist will copy all the tracks in a selected Playlist Folder to a new “plain” playlist, essentially duplicating the tracks as viewed when the Playlist Folder is selected.

Duplicate Playlist Folder as Playlist

Optionally, it can delete the selected source Playlist Folder and its contents (of course, the tracks remain in your library, but any playlists and sub-Playlist Folders it contains can be deleted).

More info and download is on this page.

Previous Scripts of the Day. Subscribe to my RSS feed or follow @dougscripts on Twitter to get daily “Script of the Day” notifications.

May 25 2015 - 6:20 am

Script of the Day: Remove n Characters From Front or Back

Remove n Characters From Front or Back will delete a specified number of characters from either the beginning or the ending of the Song Name, Album, Album Artist, Artist, Comments, Composer, Episode ID, Grouping or Show tag (or their “Sort” siblings) of each selected track.

Remove n Characters From Front or Back

Includes a Preview to check each selected track’s tag before committing. The window is re-sizeable so that longer tags can be viewed more easily.

More info and download is on this page.

Previous Scripts of the Day. Subscribe to my RSS feed or follow @dougscripts on Twitter to get daily “Script of the Day” notifications.

May 22 2015 - 6:42 am

Script of the Day: Play Random Album

Play Random Album will quickly scan your library, create a playlist of a complete single album choosen at random and begin playback of the playlist created. Works great when assigned a keyboard shortcut. This is one of my favorite scripts.

More info and download is on this page.

Previous Scripts of the Day. Subscribe to my RSS feed or follow @dougscripts on Twitter to get daily “Script of the Day” notifications.

May 21 2015 - 5:57 am

Script of the Day: Reset Tracks Start-Stop

Reset Tracks Start-Stop will reset the Start and (optionally) the Stop Time of the selected tracks—or all the tracks of the selected playlist—to “0:00″ and (optionally) their entire duration, respectively.

Reset Tracks Start-Stop

More information and download is on this page.

Previous Scripts of the Day. Subscribe to my RSS feed or follow @dougscripts on Twitter to get daily “Script of the Day” notifications.

May 20 2015 - 5:57 am

Script of the Day: Copy Tracks to Multiple Playlists

Copy Tracks to Multiple Playlists will copy the selected tracks to one or more chosen playlists.

Copy Tracks to Multiple Playlists

More information and download is on this page.

Previous Scripts of the Day. Subscribe to my RSS feed or follow @dougscripts on Twitter to get daily “Script of the Day” notifications.

May 19 2015 - 6:35 am

Script of the Day: Re-Apply Downsized Artwork

Re-Apply Downsized Artwork will examine the artwork of each selected track (or tracks in the selected playlist) and if greater than a user-set resolution (n x n pixels) will downscale the image to that resolution.

Re-Apply Downsized Artwork

Artwork already at the set resolution or smaller will not be affected. Includes options to pad image to make square, preserve extant track artworks, adjust preview proportionally and export displayed artwork to disk.

More info, video demonstration and download is on this page.

Previous Scripts of the Day. Subscribe to my RSS feed or follow @dougscripts on Twitter to get daily “Script of the Day” notifications.

Site contents © 2001 - 2015 (that's right: 2001) Doug Adams and weblished by Doug Adams, dougscripts AT mac DOT com. About.
All rights reserved. Legal.
AppleScript, iTunes, iPod, iPad, and iPhone are registered trademarks of Apple Inc. This site has no affiliation with Apple, Inc.