AppleScript for connecting to Airplay devices

My preset contains such a group.
Code in the next comment.