ShareShortcuts

llsc12’s Shortcut Downloader

Downloads my shortcuts from another website where they are first uploaded

llsc12
Bifurcar “llsc12’s Shortcut Downloader”

¿Creaste algo nuevo a partir de este atajo? Compártelo como bifurcación: se convierte en un atajo tuyo, que tú administras, y ambas páginas se enlazan entre sí para que llsc12 reciba el crédito.

  1. 1Obtén el atajo y modifícalo en la app Atajos. Ponle un nombre propio.
  2. 2Compártelo desde la app Atajos y copia el enlace de iCloud.
  3. 3Vuelve aquí, pega el enlace y describe qué es diferente, p. ej., “Se añadió un paso que usa Apple Intelligence para personalizar el texto”.
Descargas
54K
Guardado
3
Acciones
28
Categoría
Utilities
Versión
1.1
Idioma
EN

Downloads my shortcuts from another website where they are first uploaded. Enjoy!

Novedades

Versión 1.1

bug fix

Historial de versiones
1.1 22 de ene. de 2021

bug fix

1.0 28 de dic. de 2020

First release

Qué hace

28 acciones
  1. Get Contents of URL
    https://pastebin.com/raw/yB6PWD4k
  2. Get Dictionary from Input
  3. Get Dictionary Value
  4. Show Notification
    This takes some time...
  5. Repeat with Each
  6. Get Contents of URL
    https://routinehub.co/api/v1/shortcuts/…/versions/latest
  7. Set Dictionary Value
  8. Show Notification
    This also takes time
  9. Repeat with Each
  10. Get Dictionary Value
  11. Get Dictionary Value
  12. Get Dictionary Value
  13. Get Dictionary Value
  14. Match Text
  15. Get Contents of URL
    https://routinehub.co/api/v1/shortcuts/…/versions/latest
  16. Get Dictionary Value
  17. Match Text
  18. Get Contents of URL
    https://www.icloud.com/shortcuts/api/records/…
  19. Get Contents of URL
    …
  20. Set Name
  21. Base64 Encode
  22. Text
  23. Text
  24. Set Name
  25. Choose from List
  26. Get Contacts from Input
  27. Text
  28. Open URLs

Ver como código
Beta

Todas las acciones de este atajo escritas en Cherri, un lenguaje de programación para Atajos. Ideal para aprender cómo funciona.

#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)
Abrir en Cherri Playground Descompilado con cherri 2.3.0 (GPL-2.0). Puede que necesite pequeños ajustes antes de compilarse.

Valoraciones y reseñas

Escribe una reseña
–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Aún no hay reseñas. ¡Sé el primero en compartir tu opinión!

Publicidad

También te puede gustar

Ver todo
Publicidad