Nov 1, 2018
danielbahl
Cool!
This Shortcut allows you to convert icloud Link into Base64 Shortcut import Link
kraineffThis Shortcut allows you to convert icloud Link into Base64 Shortcut import Link.
First release
Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.
#include 'actions/web'
#include 'actions/text'
#define color teal
#define glyph cloudService
// Made by /u/xMrVizzy (@xMrVizzy)
prompt("Enter Shortcut URL", "URL")
replaceText("https://www.icloud.com/shortcuts/", "", "")
url("https://www.icloud.com/shortcuts/api/records/{}")
downloadURL("")
@fields = nil['fields']
getValue({}, "value")
urlEncode("")
// TODO: Get Variable not supported: Assign variable here to '@fields'.
downloadURL("")
base64Encode(nil)
urlEncode("")
setClipboard(nil, true)
showNotification("Saved in clipboard!", "")
Cool!