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 MacStories Extras
Club MacStories offers exclusive access to extra MacStories content, delivered every week; it’s also a way to support us directly.
Club MacStories will help you discover the best apps for your devices and get the most out of your iPhone, iPad, and Mac. It’ll also give you access to advanced iOS shortcuts, tips and tricks, and lots more.
Starting at $5/month, with an annual option available.
Join the Club.
A Club MacStories membership includes:
- MacStories Weekly newsletter, delivered every week on Friday with app collections, tips, iOS workflows, and more;
- MacStories Unplugged podcast, published monthly with discussions on what we’re working on and more;
- Monthly Log newsletter, delivered once every month with behind-the-scenes stories, app notes, personal journals, and more;
- Access to occasional giveaways, discounts, and free downloads.