dougscripts.com

September 23 2013 - 12:12 pm

iTunes 11.1 Breaks Some Airplay scripting

[UPDATE: iTunes 11.1.2 addresses and fixes this issue.]

The latest version of iTunes breaks some scripts I posted when Airplay scripting was introduced back in the Spring.

Specifically, an error will be generated doing something as simple as this:

tell application "iTunes"

set apDevices to (get AirPlay devices)

end tell

Come on. It's gotta be a bug, right? You can still get properties of AirPlay devices and set the current AirPlay devices property by device name:

tell application "iTunes"

set apDevices to (get name of AirPlay devices)

--> {"Computer", "Doug's AirPort Express"}

set current AirPlay devices to AirPlay device "Computer"

end tell

Waiting to see how this evolves.

Site contents © 2001 - 2024 (that's right: 2001) Doug Adams and weblished by Doug Adams. Contact support AT dougscripts DOT com. About.
All rights reserved. Privacy.
AppleScript, iTunes, iPod, iPad, and iPhone are registered trademarks of Apple Inc. This site has no direct affiliation with Apple, Inc.
The one who says "it cannot be done" should not be interrupting the one who is doing it.