ShareShortcuts

Randomized Fun

A bunch of random generators

vultario
Dupliquer « Randomized Fun »

Tu as créé quelque chose de nouveau à partir de ce raccourci ? Partage-le comme version dérivée : il devient un raccourci à toi, que tu gères, et les deux pages renvoient l’une vers l’autre pour que vultario soit crédité.

  1. 1Obtenez le raccourci et modifiez-le dans l’app Raccourcis. Donnez-lui un nom bien à lui.
  2. 2Partage-le depuis l’app Raccourcis et copie le lien iCloud.
  3. 3Reviens ici, colle le lien et décris ce qui change, par exemple : « Ajout d’une étape qui utilise Apple Intelligence pour personnaliser le texte. »
Créer mon fork
Téléchargements
42K
Enregistré
0
Actions
37
Catégorie
Fun
Version
1.0
Langue
EN

A bunch of random generators

Nouveautés

Version 1.0

First release

Historique des versions
1.0 23 avr. 2022

First release

Ce qu’il fait

37 actions
  1. Choose from Menu
    Pick one:
  2. Choose from Menu
    Set a random wallpaper from your photos
  3. Find Photos
  4. Count
  5. Show Result
  6. Get Item from List
  7. Set Wallpaper
  8. Go to Home Screen
  9. Choose from Menu
    Show random photo(s) from your photo library (Its randomized how many photos it will get)
  10. Random Number
  11. Get Latest Photos
  12. List
  13. Get Item from List
  14. If
  15. Combine Images
  16. Quick Look
  17. If
  18. If
  19. Combine Images
  20. Quick Look
  21. If
  22. If
  23. Combine Images
  24. Quick Look
  25. If
  26. Choose from Menu
    random letters (Most likely it will be nonsense)
  27. Show Result
  28. List
  29. Text
  30. Repeat
  31. Get Item from List
  32. Show Result
  33. Show Result
  34. Choose from Menu
    Random Number(s) (goes all the way to a googleplex)
  35. Show Result
  36. Random Number
  37. Show Result

Afficher en tant que code
Bêta

Chaque action de ce raccourci écrite en Cherri, un langage de programmation pour Raccourcis. Idéal pour comprendre son fonctionnement.

#define mac false
#define color green
#define glyph syncArrows


menu "Pick one:" {
item "Set a random wallpaper from your photos":
	rawAction("is.workflow.actions.filter.photos", {})
	count(Photos)
	show("Btw, did u know that there's a 1 in {} chance to get the same exact wallpaper?")
	const ItemFromList = getListItem(Photos, 0)
	setWallpaper(ItemFromList)
	returnToHomescreen()
item "Show random photo(s) from your photo library (Its randomized how many photos it will get)":
	const RandomNumber = randomNumber(0, 25)
	const LatestPhotos = getLatestPhotos(RandomNumber)
	const List = list("Vertical", "Horizontal", "Grid")
	const ItemFromList1 = getRandomItem(List)
	if ItemFromList1 == "Vertical" {
		rawAction("is.workflow.actions.image.combine", {
			"WFImageCombineMode": "Vertically",
			"WFInput": "LatestPhotos"
		})
		quicklook(CombinedImage)
	} else {
	}
	if ItemFromList1 == "Horizontal" {
		rawAction("is.workflow.actions.image.combine", {
			"WFInput": "LatestPhotos"
		})
		quicklook(CombinedImage1)
	} else {
	}
	if ItemFromList1 == "Grid" {
		rawAction("is.workflow.actions.image.combine", {
			"WFImageCombineMode": "In a Grid",
			"WFInput": "LatestPhotos"
		})
		quicklook(CombinedImage2)
	} else {
	}
item "random letters (Most likely it will be nonsense)":
	show("This may take a while, so be patient!")
	const List1 = list("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ")
	const Text = "25"
	repeat _ for Text {
		getListItem(List1, 0)
	}
	show("Btw, did u know that there's a 1 in 171,450 chance of you getting a real word?")
	show()
item "Random Number(s) (goes all the way to a googleplex)":
	show("Btw, did u know that there's a 1 in 10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 chance of you getting a single digit? (Wow that's rare!)")
	randomNumber(1, 10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)
	show()
}
Ouvrir dans Cherri Playground Décompilé avec cherri 2.3.0 (GPL-2.0). Quelques corrections peuvent être nécessaires avant la compilation.

Notes et avis

Écrire un avis
–
sur 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Aucun avis pour le moment. Sois le premier à partager ton avis !

Publicité

Plus de vultario

Tout afficher

Ça pourrait aussi te plaire

Tout afficher
Publicité