You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
I don't have a direct link. But there is some additional script available for iTunes controls and AirPlay. I can later add the scripts I've edited and written for control of my iTunes through HomeKit and homebridge. If that might help? Sorry this was posted awhile ago.
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
The text was updated successfully, but these errors were encountered: