ShareShortcuts

Advent

Advent calendar, plays music, gives you a string of text & shows you a GIF!

rednaxela1234
Bifurcar “Advent”

¿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 rednaxela1234 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
1
Acciones
17
Categoría
Fun
Versión
1.0
Idioma
EN

Advent calendar, plays music, gives you a string of text & shows you a GIF!

Novedades

Versión 1.0

First release

Historial de versiones
1.0 1 de dic. de 2020

First release

Qué hace

17 acciones
  1. Date
  2. Format Date
  3. Number
  4. Format Date
  5. If
  6. Show Notification
    It's not December you darn idiot!
  7. If
  8. If
  9. Show Notification
    Sorry wait for the new year :(
  10. If
  11. Dictionary
  12. Get Dictionary Value
  13. Find Music
  14. Play Music
  15. Search Giphy
  16. Show Notification
    …
  17. Quick Look

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/calendar'
#define color yellow
#define glyph star

currentDate()
const FormattedDate = formatDate(, "Custom", "dd")
const Number = number(FormattedDate)
const FormattedDate1 = formatDate(, "Custom", "MMM")

if FormattedDate1 != "Dec" {
	showNotification("It's not December you darn idiot!", FormattedDate1)
} else {
	if Number > 25 {
		showNotification("Sorry wait for the new year :(", Number)
	} else {
		const Dictionary = {
			"01": "First of december!",
			"02": "Coming closer!",
			"03": "Dasher \u0026 Dancer",
			"04": "And then comes Ruldoth!",
			"05": "The red nosed…",
			"06": "Christmas,",
			"07": "Reindeer",
			"08": "St Nicholous",
			"09": "Sant Nicklause",
			"10": "Santa Clause",
			"11": "Good tidings to you",
			"12": "You, And your kin",
			"13": "Two front teeth",
			"14": "Deck the halls",
			"15": "Boughs of holly",
			"16": "Falalalala",
			"17": "Falalala",
			"18": "So close…",
			"19": "Closer.",
			"20": "20th",
			"21": "I can see santa clause",
			"22": "Preparing the sleigh",
			"23": "Jingle jangle",
			"24": "Christmas eve",
			"25": "Merry christmas!"
		}
		rawAction("is.workflow.actions.filter.music", {
			"WFContentItemFilter": "",
			"WFContentItemSortProperty": "Random"
		})
		playMusic(Music)
		const GIFs = getGifs()
		showNotification(, false)
		quicklook(GIFs)
	}
}
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