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

Popular Now

Search-Replace Tag Text

Search-Replace Tag Text v4.1

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

'First Item - ' to Tag... v1.0

Parse Song Names and reassign the parts to other tags

Track CPR

Track CPR v1.0

Re-associate batch of dead tracks with files from selected folder

Re-Embed Artwork v1.2

Exports and then re-imports selected tracks' artwork

Swap Song Name and Artist v1.0

Swap the name with the artist of selected tracks

Artist - Name Corrector v2.1

Correct song titles listed as "Artist - Song Name"

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 RSS blog feed and 30 Most Recent Scripts RSS to stay notified about new and updated scripts and info.


September 18 2014 - 9:30 am

OS X 10.9.5 and Gatekeeper Security

You may be aware of the Gatekeeper security feature introduced with OS X 10.7.5. It prevents potential malware from being run inadvertently on your machine by checking downloaded apps for a developer signature. Most modern applets from this site are “codesigned” with my Developer ID which is registered with Apple. You are therefore assured that my apps are not malware. (It would be pretty dumb of me to release malware in any case.)

Apple has updated the way Gatekeeper signatures are recognized on OS X 10.9.5 and Yosemite. Gatekeeper on those systems (and later) will now look for a new version 2 signature, which can only be implemented by a developer on OS X 10.9 and later. The v2 signature is fully backward compatible on earlier systems. But v1 signatures have been obsoleted and will not be recognized on OS X 10.9.5 or Yosemite.

Codesigned applets that were last updated on Mountain Lion or earlier will have a v1 signature.

I’ve spent the Summer working on updating v1-codesigned scripts and apps so they will be compatible with Yosemite when it arrives in the Fall. However, I haven’t yet updated all codesigned applets with a v2 signature.

If you download an applet signed with a v1 signature on OS X 10.9.5 or Yosemite you may see an alert that advises you that the app is from an unknown developer. If so, you can override Gatekeeper security by Right-clicking/Control-clicking the applet’s icon in the Finder and selecting “Open” from the contextual menu.

I hope to have all affected apps updated with v2 signatures over the next few weeks in time for the official release of OS X 10.10.

UPDATE: Well, apparently, it’s all a load of hooey.

UPDATE 2: ArsTechnica explains the current situation.

September 9 2014 - 7:08 pm

Apple Releases iTunes 11.4

Apple has released iTunes 11.4 with support for iOS 8, which is due for release on September 17.

August 29 2014 - 12:23 pm

Dupin v2.8.0 Available

I waited a little longer between updates this time around, so Dupin has gained a feature point.

Dupin v2.8 has significant memory management and CPU fixes making it faster than ever. More info and download is here.

August 29 2014 - 8:21 am

More iTunes Power Search at Your Fingertips

Kirk has noticed that Apple has spruced up the iTunes Power Search page. Inspired, I improved this simple AppleScript to launch a Power Search by kind (click the AppleScript Editor icon below the code to display the code in AppleScript Editor on your machine):

set chooseOptions to {”All Results”, “Apps”, “Music”, “Movies”, “TV Shows”, ¬

“Podcasts”, “Books”, “iTunesU”}

set optList to {”mt=3″, “mt=8″, “mt=1″, “mt=6″, “mt=4″, “mt=2″, ¬

“media=books#powerSearch&restrict=false&submit=media”, ¬


set opt to (choose from list chooseOptions with prompt “iTunes Power Search…”)

if opt is false then return

repeat with i from 1 to length of chooseOptions

if opt as text is (item i of chooseOptions) then

set opt to (item i of optList)

end if

end repeat

set link to (”itms://phobos.apple.com/WebObjects/MZSearch.woa/wa/advancedSearch?” & opt) as text

tell application “iTunes” to open location link

Save that as something like “Power Search” in your ~/Library/iTunes/Scripts/ folder and assign it a shortcut. When you launch it, you can select the area you want to search:

August 27 2014 - 10:49 am

Daypart v2.4.0 Available

Daypart v2.4.0 can schedule sets of iTunes playlists to play throughout the day and week.

I’m very pleased with this latest version. I had the extraordinary luck of being able to assemble a great group of hardcore Daypart users as beta-testers. This group included cafe, bar and hostel operators in the US and Europe who were able to put Daypart through some serious paces. (From the German hostel owner: “400 person hostel, daily 7am wake-up program made by kids, scheduled with Daypart, transmitted via Airplay to 3 Airport Express wired to three 100 volt PA systems with speakers in each room of our hostel”. Wow.)

This version fixes issues with day/week localizations, fixes a problem with setting fade seconds, tames some excessive CPU usage, improves memory mangement, and has general performance fixes for increased reliability. All current users are encouraged to update to Daypart v2.4.0.

Additionally, this version drops support for pre-OS X 10.8 operating systems. However, I have prepared a version 2.3.1 with comparable fixes for OS X 10.6-10.8 which can be downloaded from this page. Version 2.3.1 will be the last version of Daypart that runs on pre-OS X 10.8 systems.

August 26 2014 - 11:15 am

UPDATED: Random Full Albums to Playlist

Random Full Albums to Playlist v1.1 will assemble a user-set number of randomly selected full albums to a playlist.

This version fixes a problem whereby only the last disk in a multi-disk collection would ever be selected. Now, only a single disk in such a collection will be selected.

More information and download is here.

August 7 2014 - 9:47 pm

iTunes 11.3.1 Released

Apple has posted iTunes 11.3.1 which fixes some podcast related issues.

July 28 2014 - 7:27 am

Join Together v7.2.0

Join Together will create and export a single AAC or ALAC audio file from the audio data of tracks dragged from iTunes or files dragged from the Finder.

This latest version includes fixes for some memory management issues in Mavericks and later. It will work under the Yosemite beta with iTunes 12, but observe the usual caveats about pre-release beta software.

Join Together is $5.00; this version is a free update for registered users of v7.0 and later. More information and download is here.

July 23 2014 - 5:12 pm

A Word

Apple is releasing the OS X Yosemite public beta tomorrow.

I make no guarantees as to the reliablity of any software authored by me when operated under a pre-official-release beta version of the operating system.

Yosemite-compatible software will be clearly labeled as such. Otherwise, don’t presume any script or app has Yosemite compatibility at all until the official release date in the Fall.

July 13 2014 - 3:43 pm

UPDATED: Not In Any Playlist v2.0

I don’t necessarily encourage using playlists as longer-than-semi-temporary organizers. In fact, you could trash all my playlists right now and I wouldn’t care. But if the thought of doing that on your own library makes your spine melt at about L5 then you might have OCD want to try meditation Not In Any Playlist.

This applet will scan iTunes for tracks that are not assigned to any user-created playlists and display them. Includes options to export the list as a text file, ignore Smart playlists, ignore non-Music tracks, and copy selected tracks to a new or existing iTunes playlist.

Not In Any Playlist is free to try full-featured for 10 days. More info and download here.

Site contents © 2001 - 2014 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.