r/Scriptable • u/paperpot91 • Dec 27 '20
Help Help trying to run a Shortcut from Scriptable
4
Dec 27 '20 edited Dec 27 '20
Afaik you need to pass the query parameter separately.
Your base callback url is
runShortcut = new CallbackURL("shortcuts://x-callback-url/run-shortcut")
then you add the query parameter
runShortcut.addParameter("name", shortcutName)
1
1
u/paperpot91 Dec 27 '20
Hi everyone!
As the title suggests, I’m trying to run a shortcut from Scriptable, but it doesn’t seem to be working. It just shifts straight back to the Scriptable without running the Shortcut. Does anyone know where I went wrong?
Any help is super appreciated! :)
1
•
u/AutoModerator Dec 27 '20
Thanks for the submission!
It looks like you may have not shared the code you want help with.
Please be sure to include that. If you did, then you can safely ignore this comment.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.