Your browser (Internet Explorer 7 or lower) is out of date. It has known security flaws and may not display all features of this and other websites. Learn how to update your browser.

X

Navigate / search

Control Airplay/Airtunes in iTunes 10.1 with Applescript

My previously published Applescript to control iTunes Airplay/Airtunes speakers was broken recently when Apple released iTunes version 10.1. Apple made a few minor tweaks to the speaker control elements, which is to be expected since one of the key features in the 10.1 release is related to Airplay support.

I have re-created the script, which behaves almost identically to previous versions. This one contains a little bit more error checking for dealing with various iTunes states. I’ve also included more code comments than previous versions, which should help people modify it to their own needs.