ShareShortcuts

Randomized Fun

A bunch of random generators

vultario
Fazer fork de “Randomized Fun”

Criou algo novo a partir deste atalho? Compartilhe como uma derivação: ela se torna um atalho seu, que você gerencia, e as duas páginas têm links entre si para que vultario receba o crédito.

  1. 1Obtenha o atalho e altere-o no app Atalhos. Dê a ele um nome próprio.
  2. 2Compartilhe pelo app Atalhos e copie o link do iCloud.
  3. 3Volte aqui, cole o link e descreva o que mudou, por exemplo: “Adicionei uma etapa que usa a Apple Intelligence para personalizar o texto.”
Downloads
42K
Salvo
0
Ações
37
Categoria
Fun
Versão
1.0
Idioma
EN

A bunch of random generators

Novidades

Versão 1.0

First release

Histórico de versões
1.0 23 de abr de 2022

First release

O que ele faz

37 ações
  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

Ver como código
Beta

Todas as ações deste atalho escritas em Cherri, uma linguagem de programação para o app Atalhos. Ótimo para aprender como ele funciona.

#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()
}
Abrir no Cherri Playground Descompilado com cherri 2.3.0 (GPL-2.0). Pode precisar de pequenos ajustes antes de compilar.

Avaliações e comentários

Escrever uma avaliação
–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Ainda não há avaliações. Seja o primeiro a compartilhar o que você pensa!

Publicidade

Mais de vultario

Ver tudo

Você também pode gostar

Ver tudo
Publicidade