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
Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.
#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']
getValues({})
urlEncode("")
// TODO: Get Variable not supported: Assign variable here to '@fields'.
downloadURL("")
base64Encode(nil)
urlEncode("")
setClipboard(nil, true)
showNotification("Saved in clipboard!", "")
Cool!