ShareShortcuts

Randomized Fun

A bunch of random generators

vultario
„Randomized Fun“ forken

Hast du auf Basis dieses Kurzbefehls etwas Neues erstellt? Teile ihn als Fork: Er wird zu deinem eigenen Kurzbefehl, den du selbst verwaltest, und beide Seiten verlinken aufeinander, damit vultario die Anerkennung erhält.

  1. 1Lade den Kurzbefehl und ändere ihn in der Kurzbefehle-App. Gib ihm einen eigenen Namen.
  2. 2Teile ihn in der Kurzbefehle-App und kopiere den iCloud-Link.
  3. 3Komm hierher zurück, füge den Link ein und beschreibe, was sich geändert hat, z. B. „Einen Schritt hinzugefügt, der Apple Intelligence nutzt, um den Text zu personalisieren.“
Downloads
42K
Gesichert
0
Aktionen
37
Kategorie
Fun
Version
1.0
Sprache
EN

A bunch of random generators

Neue Funktionen

Version 1.0

First release

Versionsverlauf
1.0 23. Apr 2022

First release

Was er macht

37 Aktionen
  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

Als Code ansehen
Beta

Jede Aktion dieses Kurzbefehls als Cherri ausgeschrieben, eine Programmiersprache für Kurzbefehle. Ideal, um zu lernen, wie er funktioniert.

#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()
}
In Cherri Playground öffnen Mit cherri 2.3.0 (GPL-2.0) dekompiliert. Eventuell sind kleine Korrekturen nötig, bevor es kompiliert wird.

Bewertungen und Rezensionen

Rezension schreiben
–
von 5
★★★★★
★★★★
★★★
★★
★
0 ratings

No reviews yet. Be the first to share what you think!

Werbung

Mehr von vultario

Alle anzeigen

Das gefällt dir vielleicht auch

Alle anzeigen
Werbung