Itunes/Airport Express


Seems no one has a clue about how to select airport speakers using apple script. I saw some post asking this but no answer, pretty frustrating.

Anyone has idea ?


I’m also interested in this and going about it with gui scripting. I downloaded Apple’s UIElementInspector application to get the correct gui syntax and the best I could come up with is:

tell application “iTunes”
tell application “System Events”
tell process “iTunes”
tell front window
click menu item “Computer” of button “remote speakers”
end tell
end tell
end tell
end tell

The script fails but I feel like the script could work with the correct gui syntax.