veadar
4/10/2018 - 11:24 AM

change airplay speaker.scpt

tell application "iTunes"
	# possible values for kind are computer/‌AirPort Express/‌Apple TV/‌AirPlay device/‌unknown
	set newAirplayDevice to (get some AirPlay device whose kind is computer)
	set current AirPlay devices to {newAirplayDevice}
end tell