ShareShortcuts

GIF and QR maker

GIF and QR maker

iconickr
Bifurcar “GIF and QR maker”

¿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 iconickr 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
52K
Guardado
5
Acciones
42
Categoría
Photos and videos
Versión
1.0
Idioma
EN

GIF and QR maker

Novedades

Versión 1.0

First release

Historial de versiones
1.0 3 de mar. de 2021

First release

Qué hace

42 acciones
  1. Dictionary
  2. Get IP Address
  3. If
  4. Get File
  5. If
  6. Get Time Between Dates
  7. If
  8. Nothing
  9. If
  10. Create Folder
  11. Nothing
  12. If
  13. Save File
  14. Get Contents of URL
    https://routinehub.co/api/v1/shortcuts/…/versions/latest
  15. Get Dictionary Value
  16. If
  17. Choose from Menu
    A new Version is available. Version: … -> … Changes: …
  18. Choose from Menu
    Get new Version
  19. Replace Text
  20. Open URLs
  21. Stop This Shortcut
  22. Choose from Menu
    Skip Update
  23. Get Device Details
  24. If
  25. If
  26. Stop This Shortcut
  27. Select Photos
  28. Make GIF
  29. Quick Look
  30. Choose from Menu
  31. Choose from Menu
    Save to Camera roll
  32. Save to Photo Album
  33. Choose from Menu
    Save to iCloud Drive
  34. Save File
  35. Choose from Menu
  36. Choose from Menu
    Make QR code
  37. Generate QR Code
  38. Quick Look
  39. Choose from Menu
    Save GIF
  40. Save to Photo Album
  41. Show Result
  42. Choose from Menu
    Exit ❌

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/network'
#define color darkblue
#define glyph QRCode

const CurrentIPAddress = getExternalIP()

if CurrentIPAddress contains "." {
	const File = getFile("{['Path']}/LastUpdateCheck.txt", false)
	if File {
		rawAction("is.workflow.actions.gettimebetweendates", {
			"WFInput": "{CurrentDate}",
			"WFTimeUntilFromDate": "{File}",
			"WFTimeUntilUnit": "Hours"
		})
		if TimeBetweenDates > 8 {
		}
	} else {
		createFolder(['Path'])
	}
	if !IfResult {
		saveFile("{['Path']}/LastUpdateCheck.txt", true)
		const ContentsOfURL = downloadURL("https://routinehub.co/api/v1/shortcuts/{['ID']}/versions/latest")
		const DictionaryValue = getValue(ContentsOfURL, "Version")
		if DictionaryValue != Dictionary['Version'] {
			menu "A new Version is available.\nVersion: {['Version']} -> {ContentsOfURL['Version']}\n\nChanges:\n{ContentsOfURL['Notes']}" {
			item "Get new Version":
				const UpdatedText = replaceText("https://www.icloud.com", "shortcuts:/", ContentsOfURL['URL'])
				openURL(UpdatedText)
				stop()
			item "Skip Update":
			}
		}
	}
}
const SystemVersion = getDeviceDetail("System Version")

if SystemVersion beginsWith "14" {
} else {
	stop()
}
const Photos = selectPhotos(true)
const GIF = makeGIF(Photos)
quicklook(GIF)

menu nil {
item "Save to Camera roll":
	savePhoto(GIF)
item "Save to iCloud Drive":
	saveFilePrompt(GIF)
}

menu nil {
item "Make QR code":
	const QRCode = makeQRCode(GIF, [{float 0} {float 0} {float 0} {float 1}], [{float 2} {float 2} {float 2} {float 1}])
	quicklook(QRCode)
item "Save GIF":
	savePhoto(GIF)
	show()
item "Exit ❌":
}
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

Más de iconickr

Ver todo

También te puede gustar

Ver todo
Publicidad