Site Info & FAQ
Hello! My name is Doug Adams and I manage this site, which began in February 2001 as a site for SoundJam AppleScripts. I've been a devotee of AppleScript since it was first introduced by Apple in 1993 on System 7 and, like a lot of Mac users at the time, honed my 'scripting chops on early versions of apps like BBEdit, TexEdit Plus, Fetch, QuickTime Player, Eudora, SoundJam, and many others. As I mention below, SoundJam's AppleScript support was quite robust. However, when I couldn't find any info on writing AppleScripts for SoundJam (the SoundJam AS pages at Casady & Green's site provided nominal if not dubious help) I decided to write up what I'd learned and post a few useful AppleScripts. When SoundJam was reincarnated as iTunes, its splendid AppleScript architecture came with it, and I instantly had an iTunes site.
I'm a freelance media/voice-over producer and I do a lot of audio and video stuff. I have a small home studio and do all my work on Macs. I'm currently using: the best Mac I've ever owned, Macbook Pro 2.5GHz (Early 2008-Penryn), iMac 27" 3.1GHz Intel Core i5 (Mid 2011), iMac G5 PPC 1.6 GHz (1st Gen) for Tiger testing, and an iMac Rev C/Sonnet HARMONized to 500 MHz (OS 9) which I may mod into a lamp any day now. My wife and daughter also each have Macbooks (Early 2008 and Mid 2010). You can't throw a brick in my house without hitting at least one of various Apple TVs, iPads, iPods, iPhones, or iPods touch.
Visitors like you help me keep the site going, and I appreciate your visits and feedback. I work on the site in my free time and pay for it out of my own pocket. If you've been to the site two, three, or more times and have gotten something good from it all I ask is that you please consider making a donation toward its upkeep. Think of it as treating me to a cup of coffee and a piece of pie, or taking me out to lunch!
Thanks for visiting!
AppleScript is a programming language used to control Apple Events—the actions that happen on your computer—and lets you control the actions of applications, the Finder, and other so-called "scriptable" programs. An AppleScript "script" is a list of instructions and when you activate a script, the instructions are carried out. In addition, a script can perform computations and use the results in the instructions. This makes it equally powerful and flexible. Yet AppleScript commands and syntax arearguablyvery much like ordinary English which makes it relatively easy for anyone to learn and use.
You don't have to know how to write AppleScripts in order to use them, however. If you are new to AppleScripts you can rest easy. Most AppleScripts from this site come with instructions on how to install and use them.
AppleScript is particularly useful for handling large repetitive tasks on lots of information (such as many many tracks in an iTunes Playlist), or a single lengthy operation requiring several keystrokes and intricate settings (such as prefixing every iTunes Artist tag with the track's Year; you wouldn't want to type all that for every track, would you? I'd wager you could write a script that did that, have run the script, and changed all the Artist tags in less time than it would have taken to do it by hand)
For more information on AppleScript, visit macosxautomation.com.
SoundJam is iTunes' antecedent. It was one of the first of the better MP3 players for the Macintosh and thanks to its ease of use, skinability, and audio quality, quickly became very popular. Other contemporaneous MP3 players such as SoundApp, Audion and MACast were also quite capable, but—in my opinion—none had come close to the power of SoundJam. It was one of those few applications whose usefulness was expandable with AppleScript. And it had the best 'scriptability of all Mac MP3 players by a long shot. Dave Heller, one of the original SoundJam developers, has admitted to me that he was responsible for SoundJam's AppleScript-goodness; he continues to work with iTunes at Apple.
SoundJam's slow demise was not exactly smooth. In mid-2000, Apple acquired the distribution rights to SoundJam from Casady & Greene, a distributor of third-party software products, and retained SoundJam's developers to (secretly) work on iTunes. iTunes v1.0 debuted at the Macworld Expo in San Francisco in January, 2001 (the same Macworld that debuted iDVD and the G4 TiBook). In May of 2001, Casady & Greene announced it was discontinuing publication of SoundJam at the request of its developers, who by then were working for Apple, and version 2.5.3 was the last release.
On July 3, 2003, Casady & Greene filed for bancruptcy and closed its doors.
I am unaware of any sites where a working version of SoundJam can be obtained.
Send me your AppleScripts
If you have written an AppleScript for iTunes and would like to share it with the world, I hope you will consider allowing me to post it here. Your script needn't be extravagant or glamorous, just useful. Many people who are teaching themselves AppleScript are looking for any sort of scripts to learn from. Perhaps your routines may help someone with theirs. I will of course credit you as the author of the script as I have no wish to take credit for other peoples' work.
If you do wish to submit a script to be posted here, please email it as an attachment; StuffIt files are OK, disk images, whatever. I will probably "re-package" your submission anyway. Be sure to include a description of what your script does and any requisite instructions. If I can't figure it out or can't make it work as you describe then I will notify you for assistance (I can only test scripts for results within nominal intuitive limits and I cannot debug scripts for you). Also include any other files—or links to files—your script may require.
While I welcome all submissions, I do not ipso facto weblish every submission, and only do so at my discretion. I will also accept iTunes and SoundJam related AppleScripting articles for this site, such as how-to's and the like. Please send any correspondence to the address below.
Drop me a line
Your comments, queries, and suggestions help make this a better site. Please e-mail me, Doug Adams, at dougscripts at mac dot com. I usually answer within a day or two.