r/Scriptable • • May 29 '21

Help How to get Shortcut's "Choose from menu" in Scriptable?

2 Upvotes

I have been re-writing my shortcuts with Scriptable but got stuck trying to get the result of a user's choice. My requirement is that I should be able to complete the script from the lock-screen.

  1. Does Scriptable already allow some way of doing it (w/o using Shortcuts)?
  2. Is it possible to replicate this behavior integrating Scriptable-Shortcuts?

I already tried x-callback-url from Scriptable to Shortcuts: it works, but iOS launches Scriptable then jumps to Shortcuts to prompt the menu; otherwise, if I uncheck "Run In App", it crashes with "Error: XCallbackURL is not supported in Siri."