ShareShortcuts

Randomized Fun

A bunch of random generators

vultario
Fork “Randomized Fun”

Built something new on top of this Shortcut? Share it as a fork: it becomes a Shortcut of your own, which you manage, and both pages link to each other so vultario gets credit.

  1. 1Get the Shortcut and change it in the Shortcuts app. Give it a name of its own.
  2. 2Share it from the Shortcuts app and copy the iCloud link.
  3. 3Come back here, paste the link and describe what is different, e.g. “Added a step that uses Apple Intelligence to personalise the text.”
Downloads
42K
Saved
0
Actions
37
Category
Fun
Version
1.0
Language
EN

A bunch of random generators

What's New

Version 1.0

First release

Version History
1.0 Apr 23, 2022

First release

What it does

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

View as code
Beta

Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.

#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()
}
Open in Cherri Playground Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.

Ratings & Reviews

Write a Review
–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings

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

Advertisement

More by vultario

See All

You Might Also Like

See All
Advertisement