Also new in iTunes 11.0.3 is an update to the app’s AppleScript dictionary that adds support for controlling AirPlay speakers. The AppleScript additions contain several options: you can check on an AirPlay device’s name, activity, availability on the network, kind (computer, Apple TV, other AirPlay device, etc), network address, and even if it supports audio or video.
This is a particularly welcome addition as it has been requested by users willing to script iTunes’ speakers for years now. Previously, the best option was to rely on GUI scripting to enable/disable speakers; as I wrote in December, it’s good to see Apple is still actively supporting AppleScript on OS X.
Doug Adams has already put together a basic AirPlay script for iTunes 11.0.3.
Unlock More with Club MacStories
Founded in 2015, Club MacStories has delivered exclusive content every week for over six years.
In that time, members have enjoyed nearly 400 weekly and monthly newsletters packed with more of your favorite MacStories writing as well as Club-only podcasts, eBooks, discounts on apps, icons, and services. Join today, and you’ll get everything new that we publish every week, plus access to our entire archive of back issues and downloadable perks.
The Club expanded in 2021 with Club MacStories+ and Club Premier. Club MacStories+ members enjoy even more exclusive stories, a vibrant Discord community, a rotating roster of app discounts, and more. And, with Club Premier, you get everything we offer at every Club level plus an extended, ad-free version of our podcast AppStories that is delivered early each week in high-bitrate audio.
Choose the Club plan that’s right for you:
- Club MacStories: Weekly and monthly newsletters via email and the web that are brimming with app collections, tips, automation workflows, longform writing, a Club-only podcast, periodic giveaways, and more;
- Club MacStories+: Everything that Club MacStories offers, plus exclusive content like Federico’s Automation Academy and John’s Macintosh Desktop Experience, a powerful web app for searching and exploring over 6 years of content and creating custom RSS feeds of Club content, an active Discord community, and a rotating collection of discounts, and more;
- Club Premier: Everything in from our other plans and AppStories+, an extended version of our flagship podcast that’s delivered early, ad-free, and in high-bitrate audio.