Hello, I have installed the latest version of the Scriptable App.
There is a new and better doc available ().
Still I can’t seem to run a simple “hello World” notification that I stored in a “xxx” shortcut into a script.
This code seems to open the shortcuts library, but does not launch the “xxx” shortcut.
What is wrong in the code?
// Running a Shortcut in Script
var cb= new CallbackURL("shortcuts://x-callback-url/")
cb.open("xxx")
// This seems not to work also
//var cb=new CallbackURL("shortcuts://x-callback-url/run-shortcut?name=xxx")
// Origanal copy of the new doc
//shortcuts://x-callback-url/run-shortcut?name=xxx&input=input&text=text&x-success=x-success&x-cancel=x-cancel&x-error=x-error
//cb=new CallbackURL("shortcuts://gallery")
//cb.open()
Thanx in Advance