File from Shortcuts saved by Scriptable?

Hi, I’m new to Scriptable, but not JavaScript.

Shortcuts’ silly restriction forces us to save everything to the iCloud Drive/Shortcuts directory. I understand Scriptable can access any directory thank to File Bookmarks.

Can I put these together and create a Shortcut that passes a file to Scriptable, allowing me to save it anywhere on my iCloud Drive?

(I’m surprised I haven’t found this feature in Toolbox Pro or other Shortcuts-enhancing apps)


As far as I understood it, yes. As long, as you have a file bookmark for the location. But you would have to save the file in iCloud/Sshortcuts and then run a script to move it elsewhere.