iPhone shortcut script
notsmartenough last edited by
Looking to write a script to run a function within the app SONOS, a WiFi speaker. In my head it would seem to be pretty basic but I don’t know the first thing about writing python scripts.
Using apple shortcuts when I arrive home the SONOS app will open, then I’d like to create a script to select Pandora and play music.
Where do I start?
dgelessus last edited by
This is probably not possible.
In general, iOS does not allow one app to control another app. Apps can provide Siri shortcuts or a URL scheme to allow limited control by other apps, but this has to be specifically supported by the app, and the developer decides what actions can be triggered by other apps.
If the Sonos app provides Siri shortcuts or a URL scheme to control music playback, you can use that, otherwise you're out of luck. It doesn't make a difference whether you use Pythonista or the Shortcuts app to do the automation - both apps only have access to the control endpoints provided by the other app, and nothing more.