llsc12’s Shortcut Downloader
Downloads my shortcuts from another website where they are first uploaded
llsc12Scan med din iPhone for at installere
Downloads my shortcuts from another website where they are first uploaded. Enjoy!
Nyheder
Version 1.1
bug fix
Hvad den gør
28 handlinger-
Get Contents of URLhttps://pastebin.com/raw/yB6PWD4k
-
Get Dictionary from Input
-
Get Dictionary Value
-
Show NotificationThis takes some time...
-
Repeat with Each
-
Get Contents of URLhttps://routinehub.co/api/v1/shortcuts/…/versions/latest
-
Set Dictionary Value
-
Show NotificationThis also takes time
-
Repeat with Each
-
Get Dictionary Value
-
Get Dictionary Value
-
Get Dictionary Value
-
Get Dictionary Value
-
Match Text
-
Get Contents of URLhttps://routinehub.co/api/v1/shortcuts/…/versions/latest
-
Get Dictionary Value
-
Match Text
-
Get Contents of URLhttps://www.icloud.com/shortcuts/api/records/…
-
Get Contents of URL…
-
Set Name
-
Base64 Encode
-
Text
-
Text
-
Set Name
-
Choose from List
-
Get Contacts from Input
-
Text
-
Open URLs
Vis som kode
Alle genvejens handlinger skrevet ud i Cherri, et programmeringssprog til genveje. Perfekt til at lære, hvordan den virker.
#include 'actions/web'
#define color lightblue
#define glyph braille
const ContentsOfURL = downloadURL("https://pastebin.com/raw/yB6PWD4k")
const Input = getDictionary(ContentsOfURL)
const IDs = getKeys(Input)
showNotification("This takes some time...", "Downloading Data", false)
const RepeatResults = for _ in IDs {
const ContentsOfURL1 = downloadURL("https://routinehub.co/api/v1/shortcuts/{@RepeatItem}/versions/latest")
setValue(ContentsOfURL1, "rhid", @RepeatItem)
}
showNotification("This also takes time", "Parsing Data", false)
for _ in RepeatResults {
const rhid = @RepeatItem['rhid']
const id = @RepeatItem['id']
const version = @RepeatItem['Version']
const ShortcutName = Input[rhid]
const RHID = containsText(rhid, "\d+")
const RHAPIResponse = downloadURL("https://routinehub.co/api/v1/shortcuts/{RHID}/versions/latest")
const ICloudID = containsText(, "[a-f0-9]{32}")
const ICloudAPIResponse = downloadURL("https://www.icloud.com/shortcuts/api/records/{ICloudID}")
const ShortcutIcon = downloadURL(ICloudAPIResponse['fields.icon.value.downloadURL'])
const RenamedItem = setName(ShortcutIcon, "{ICloudAPIResponse['fields.name.value']}.png")
const image = base64Encode(RenamedItem)
}
const Text = "{}"
const RenamedItem1 = setName(Text, "menu.vcf")
const ChosenItem = chooseFromList(RenamedItem1, "• Downloader •")
getContacts(ChosenItem)
const Text1 = "https://routinehub.co/download/{['Company']}/"
openURL(Text1)
Åbn i Cherri Playground
Dekompileret med cherri 2.3.0 (GPL-2.0). Kan kræve små rettelser, før den kan kompileres.
Bedømmelser og anmeldelser
Skriv en anmeldelse–
ud af 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Ingen anmeldelser endnu. Vær den første!
Annonce
Du vil måske også kunne lide
Annonce