-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
I'm trying to use this to start playing iTunes on my Mac and toggle AirPlay devices. I've got it partially running but I encounter the error message: Error: Error: 74:89: execution error: No result was returned from some part of this expression. (-2763)
The apple script I'm running is this:
"accessories": [
{
"accessory": "Applescript",
"name": "iTunes",
"on": "tell application ''iTunes'' to set selected of AirPlay device ''Computer'' to true and (play)",
"off": "tell application ''iTunes'' to set selected of AirPlay device ''Computer'' to false and (pause)"
}
],
Is there a better way to switch AirPlay devices? Thanks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels